C、传统 C++ })`z6d]3
/bn$@Cy@
#include <assert.h> //设定插入点 Xy. /1`X
#include <ctype.h> //字符处理 i&p6UU
#include <errno.h> //定义错误码 !xBJJ/K+|
#include <float.h> //浮点数处理 Y78DYbU.
#include <fstream.h> //文件输入/输出 j;qV+Rq]t
#include <iomanip.h> //参数化输入/输出 7PuYrJ
#include <iostream.h> //数据流输入/输出 ESk:$`P
#include <limits.h> //定义各种数据类型最值常量 *7=`]w5k1
#include <locale.h> //定义本地化函数 PJ=| g7I
#include <math.h> //定义数学函数 r,3\32[?
#include <stdio.h> //定义输入/输出函数 R)4,f~@"
#include <stdlib.h> //定义杂项函数及内存分配函数 >Q'*~S@v3
#include <string.h> //字符串处理 |#{ i7>2U
#include <strstrea.h> //基于数组的输入/输出 ;>/yY]F7
#include <time.h> //定义关于时间的函数 XZS%az1%
#include <wchar.h> //宽字符处理及输入/输出 K2\)9
#include <wctype.h> //宽字符分类 ^(Z%,j3O
yJ`{\7Uqg
////////////////////////////////////////////////////////////////////////// y>:U&P^
`A5n6*A7
标准 C++ (同上的不再注释) cs_
M6 8foeeN
#include <algorithm> //STL 通用算法 s(ap~UCOw
#include <bitset> //STL 位集容器 h6IO ;:P)
#include <cctype> ?`xm_udc
#include <cerrno> ]jPP]Z:y
#include <clocale> eh>FYx(
S
#include <cmath> 0~+*$W
#include <complex> //复数类 B'mUDW8\D
#include <cstdio> :>0,MO.^~K
#include <cstdlib> MBLDxsZ-
#include <cstring> 6tjV^sjs
#include <ctime> }#;.b'`
#include <deque> //STL 双端队列容器 K<r5jb
#include <exception> //异常处理类 p] N/]2rR
#include <fstream> @h_ bXo
#include <functional> //STL 定义运算函数(代替运算符) ,`OQAJ)>
#include <limits> 4;>HBCM4-
#include <list> //STL 线性列表容器 oX*;iS X
#include <map> //STL 映射容器 @y'ZM
#include <iomanip> @v:Eh
#include <ios> //基本输入/输出支持 X&| R\v=}
#include <iosfwd> //输入/输出系统使用的前置声明 c10$5V&@
#include <iostream> *0?@/2&
#include <istream> //基本输入流 bo@
?`5
#include <ostream> //基本输出流 Jh<s '&FR
#include <queue> //STL 队列容器 OSLZ7B^
#include <set> //STL 集合容器 QoZZXCU
#include <sstream> //基于字符串的流 s&'FaqE
#include <stack> //STL 堆栈容器 | lZJt
#include <stdexcept> //标准异常类 3TZ:
#include <streambuf> //底层输入/输出支持 !! )W`
#include <string> //字符串类 mhOgv\?
#include <utility> //STL 通用模板类 R/Z7}Q W
#include <vector> //STL 动态数组容器 -j2y#aP
#include <cwchar> Ml;` *;
#include <cwctype> (2QfH$HEk
>qOj^WO~
using namespace std; w (z=xO
]zCD1*)
////////////////////////////////////////////////////////////////////////// BX6kn/i
\t/0Yh-'
C99 增加 9:GP~oI j
wr=KAsH<
#include <complex.h> //复数处理 hF5T9^8
#include <fenv.h> //浮点环境 {~j/sto-:
#include <inttypes.h> //整数格式转换 *
h S 6F
#include <stdbool.h> //布尔环境 +A^|aQ
#include <stdint.h> //整型环境 r b\t0tg
#include <tgmath.h> //通用类型数学宏