C、传统 C++ { /8s`m
]A+t@/k
#include <assert.h> //设定插入点 EronNtu8i
#include <ctype.h> //字符处理 .'l3NV^{
#include <errno.h> //定义错误码 o8A8fHl
#include <float.h> //浮点数处理 wvxqgXnB\
#include <fstream.h> //文件输入/输出 KB~`3Wj|Z
#include <iomanip.h> //参数化输入/输出 *ni0.
#include <iostream.h> //数据流输入/输出 " :[;}f;
#include <limits.h> //定义各种数据类型最值常量 ,s}7KE
#include <locale.h> //定义本地化函数 1j}e2H
#include <math.h> //定义数学函数 8MU7|9 Q
#include <stdio.h> //定义输入/输出函数 BHkicb ?
#include <stdlib.h> //定义杂项函数及内存分配函数 @C('kUX~!
#include <string.h> //字符串处理 !6#.%"{-
#include <strstrea.h> //基于数组的输入/输出 1} _<q k9
#include <time.h> //定义关于时间的函数 q{[y4c1bG{
#include <wchar.h> //宽字符处理及输入/输出 gtY7N>e
#include <wctype.h> //宽字符分类 ?}uvpB1}
\|4F?Y
////////////////////////////////////////////////////////////////////////// P $r!u%W
d;3f80Kd*
标准 C++ (同上的不再注释) Q2m 5&yy@s
n"~K",~P
#include <algorithm> //STL 通用算法 iHdX
#include <bitset> //STL 位集容器 8@6*d.+e
#include <cctype> :2b*E`+
#include <cerrno> c*(=Glzn
#include <clocale> V6Of(;r
#include <cmath> !0Ak)Q]e'
#include <complex> //复数类 a_D K"8I
#include <cstdio> `sv]/8RN
#include <cstdlib> O|9Nl*rXz
#include <cstring> q}E'x/s2m
#include <ctime> h9nh9a(2
#include <deque> //STL 双端队列容器 hA`9[58/
#include <exception> //异常处理类 gxVJH'[V5
#include <fstream> e9CvdR
#include <functional> //STL 定义运算函数(代替运算符) qr*e9Uk^
#include <limits> HuxvIg
#include <list> //STL 线性列表容器 'I[xZu/8yg
#include <map> //STL 映射容器 ^R+CkF4l l
#include <iomanip> ZxDh!_[s
#include <ios> //基本输入/输出支持 ,6A/| K-
#include <iosfwd> //输入/输出系统使用的前置声明 pUgas?e&
#include <iostream> i1HO>X:ea
#include <istream> //基本输入流 27F:-C~.9
#include <ostream> //基本输出流 J3r':I}\
#include <queue> //STL 队列容器 JvJ)}d$,&
#include <set> //STL 集合容器 5a&gdqg]
#include <sstream> //基于字符串的流 # M
Y4Mr
#include <stack> //STL 堆栈容器 l`:-B'WM
#include <stdexcept> //标准异常类 An
BM*5G
#include <streambuf> //底层输入/输出支持 F=UW[zy/[
#include <string> //字符串类 COH.`Tv{*
#include <utility> //STL 通用模板类 #S|On[Q!
#include <vector> //STL 动态数组容器 [eDRghK
#include <cwchar> g)<[-Q1
#include <cwctype> / pGx!
i-sm 9K'ns
using namespace std; k6;pi=sYNW
K$$%j "s
////////////////////////////////////////////////////////////////////////// S;{[];
PhmtCp0-7-
C99 增加 /sSif0I24
tU8aPiUl
#include <complex.h> //复数处理 e.|t12)L "
#include <fenv.h> //浮点环境 :yOJL [x
#include <inttypes.h> //整数格式转换 pQm-Hr78j
#include <stdbool.h> //布尔环境 xfqu=z8X
#include <stdint.h> //整型环境 ,` $2
#include <tgmath.h> //通用类型数学宏