C、传统 C++ }:6$5/?
QQ1|]/)
#include <assert.h> //设定插入点 ZboY]1L[j
#include <ctype.h> //字符处理 <$ H-/~Y
#include <errno.h> //定义错误码 /j}"4_.8
#include <float.h> //浮点数处理 ~57.0?IK
#include <fstream.h> //文件输入/输出 #* KmPc+
#include <iomanip.h> //参数化输入/输出 aaa6R|>0
#include <iostream.h> //数据流输入/输出 <G+IbUG:
#include <limits.h> //定义各种数据类型最值常量 -pb>=@Yq
#include <locale.h> //定义本地化函数 }iOFB&)w
#include <math.h> //定义数学函数 VMa\?`fT
#include <stdio.h> //定义输入/输出函数 3W<_J_[
#include <stdlib.h> //定义杂项函数及内存分配函数 CAs8=N#H%
#include <string.h> //字符串处理 {Z~5#<t
#include <strstrea.h> //基于数组的输入/输出 Ms
*
`w5n
#include <time.h> //定义关于时间的函数 5(+9(
\x
#include <wchar.h> //宽字符处理及输入/输出 wO>P<KBU
#include <wctype.h> //宽字符分类
d q.'[
oZ
CvEVUk
////////////////////////////////////////////////////////////////////////// L("zS%qr
?WD JWp%
标准 C++ (同上的不再注释) =Su~iOa
KV1/!r+*
#include <algorithm> //STL 通用算法 ZJZKCdT@
#include <bitset> //STL 位集容器 f>i" j
#include <cctype> DrY5Q&S
#include <cerrno> 0q4E^}iR
#include <clocale> ..Dr?#Cr
#include <cmath> v&#=1Zb
#include <complex> //复数类 <aScA`\B#
#include <cstdio> px7<;(I
#include <cstdlib> <"}Gvi
#include <cstring> Pl9Ky(Q`V
#include <ctime> z]\CI:
#include <deque> //STL 双端队列容器 q.GA\o
#include <exception> //异常处理类 #0F6{&;
M
#include <fstream> o(q][:,h
#include <functional> //STL 定义运算函数(代替运算符) li`4&<WGC
#include <limits> 3Mlwq'pzD
#include <list> //STL 线性列表容器 vwc)d{ND
#include <map> //STL 映射容器 7y/Pch
#include <iomanip> )|Il@unp/
#include <ios> //基本输入/输出支持 8Ev,9
#include <iosfwd> //输入/输出系统使用的前置声明 [Y%H8}
#include <iostream> [WAnII
#include <istream> //基本输入流 -\2T(3P
#include <ostream> //基本输出流 reU*apZ/
#include <queue> //STL 队列容器 #JLxM/5^1~
#include <set> //STL 集合容器 GELxS!
#include <sstream> //基于字符串的流 F:vHbs `y
#include <stack> //STL 堆栈容器 {&qB!axj
#include <stdexcept> //标准异常类 VQMPs{tm
#include <streambuf> //底层输入/输出支持 dM^1O-K:
#include <string> //字符串类 }}cS-p
#include <utility> //STL 通用模板类 1vmK
d
#include <vector> //STL 动态数组容器 HHZGu8tzt
#include <cwchar> $%%K9Y
#include <cwctype> 0</]Jo%
'7j!B1K-
using namespace std; !.^%*6f
~"t33U6
////////////////////////////////////////////////////////////////////////// faqh }4
(:TZ~"VY
C99 增加 QnJ(C]cW
+hW^wqk/.
#include <complex.h> //复数处理 BY&+fKae
#include <fenv.h> //浮点环境 ar!`8"
#include <inttypes.h> //整数格式转换 /HiRbwQK#
#include <stdbool.h> //布尔环境 "j]85
#include <stdint.h> //整型环境 >
]()#z
#include <tgmath.h> //通用类型数学宏