C、传统 C++ l2z`<2mp
6z1aG9G
#include <assert.h> //设定插入点 wjN`EF5$}&
#include <ctype.h> //字符处理 \=HfO?$ Ro
#include <errno.h> //定义错误码 a15,'v$O
#include <float.h> //浮点数处理 fRZUY<t
#include <fstream.h> //文件输入/输出 MoC*tImWR
#include <iomanip.h> //参数化输入/输出 NN31?wt
#include <iostream.h> //数据流输入/输出 Ak<IHp^Q
#include <limits.h> //定义各种数据类型最值常量 |JirBz
#include <locale.h> //定义本地化函数 <=B1"'\
#include <math.h> //定义数学函数 $8<j5%/ $M
#include <stdio.h> //定义输入/输出函数
w0q?\qEX
#include <stdlib.h> //定义杂项函数及内存分配函数 >w%d'e$
#include <string.h> //字符串处理 gOBj0P8s|}
#include <strstrea.h> //基于数组的输入/输出 6Cop#kW#
#include <time.h> //定义关于时间的函数 FZeN,
#include <wchar.h> //宽字符处理及输入/输出 +?4*,8Tmmz
#include <wctype.h> //宽字符分类
6E)uu; 8
zLJ:U`uh\
////////////////////////////////////////////////////////////////////////// !#cKF6%
(ffOu#RQ3
标准 C++ (同上的不再注释) y<I Z|f
0ECO/EuCg
#include <algorithm> //STL 通用算法 f 4
Sw,A
#include <bitset> //STL 位集容器 m!FM+kge
#include <cctype> 4iL.4Uj{N
#include <cerrno> U|y;b+n`
#include <clocale> !."%M^J
#include <cmath> pw(U< )
#include <complex> //复数类 c (_oK ?
#include <cstdio> )cv0$
#include <cstdlib> #J<`p
#include <cstring> g'd*TBnk
#include <ctime> .:r2BgL
#include <deque> //STL 双端队列容器 ctwhfS|Y0
#include <exception> //异常处理类 b_K?ocq
#include <fstream> >%jEo'0;_
#include <functional> //STL 定义运算函数(代替运算符) vV&AG1_Mv
#include <limits> /64^5DjTh
#include <list> //STL 线性列表容器 D x>1y
#include <map> //STL 映射容器 vo}_%5v8
#include <iomanip> RT_Pd\(qD
#include <ios> //基本输入/输出支持 H(DVVHx
#include <iosfwd> //输入/输出系统使用的前置声明 4%#V^??E
#include <iostream> C[87f-g
#include <istream> //基本输入流 !Xv2PdP
#include <ostream> //基本输出流 -G^t-I
#include <queue> //STL 队列容器 YiQeI|{oN
#include <set> //STL 集合容器 ^V0{Ew/x
#include <sstream> //基于字符串的流 Wj f>:\w
#include <stack> //STL 堆栈容器 zDGg\cPj9
#include <stdexcept> //标准异常类 v|,[5IY
#include <streambuf> //底层输入/输出支持 JK^B +.
#include <string> //字符串类 _sf0{/< )
#include <utility> //STL 通用模板类 A aF5`
#include <vector> //STL 动态数组容器 w7*b}D@65\
#include <cwchar> u;'<- _
#include <cwctype> "DcueU#!
\aJ-q?=
using namespace std; <>5:u
]cGz~TN~
////////////////////////////////////////////////////////////////////////// gQ@Pw4bA
UV
*tO15i
C99 增加 #&`WMLl+8
{p lmFV
#include <complex.h> //复数处理 ]rX?n
#include <fenv.h> //浮点环境 )(|0KarF
#include <inttypes.h> //整数格式转换 >!v,`O1
#include <stdbool.h> //布尔环境 WNlSve)]ie
#include <stdint.h> //整型环境 dc@wf;o
#include <tgmath.h> //通用类型数学宏