C、传统 C++ ;6L<Syl5
j?+FS`a!
#include <assert.h> //设定插入点 BGodrb1
#include <ctype.h> //字符处理 aQMET~A:
#include <errno.h> //定义错误码 u\ytiGO*
#include <float.h> //浮点数处理 =JOupw
#include <fstream.h> //文件输入/输出 ^lB1- ;ng
#include <iomanip.h> //参数化输入/输出 E%3WJ%A
#include <iostream.h> //数据流输入/输出 _wCp.[3?t
#include <limits.h> //定义各种数据类型最值常量 ' ,a'r.HJH
#include <locale.h> //定义本地化函数 }7g\1l\
#include <math.h> //定义数学函数 rV"<1y:g
#include <stdio.h> //定义输入/输出函数 aa.EtKl
#include <stdlib.h> //定义杂项函数及内存分配函数 u#\=g:
#include <string.h> //字符串处理 Zu_m$Mx
#include <strstrea.h> //基于数组的输入/输出 68*h#&
#include <time.h> //定义关于时间的函数 8PDt 7
\
#include <wchar.h> //宽字符处理及输入/输出 a_L&*%;
#include <wctype.h> //宽字符分类 vZTX3c:,1
d\3L.5]X
////////////////////////////////////////////////////////////////////////// :7e2O!zH_
vy,ER<
标准 C++ (同上的不再注释) 82YTd(yB
GW
?.b_6*
#include <algorithm> //STL 通用算法 z(:0@ 5
#include <bitset> //STL 位集容器 Ii?<Lz
#include <cctype> TCX*$ac"
#include <cerrno> Qa5<go{
#include <clocale> `*&*jdq&i
#include <cmath>
3:PBVt=
#include <complex> //复数类 )V!9&
#include <cstdio> 5:hajXd
#include <cstdlib> !\}Dxt
#include <cstring> (VO)
Q
#include <ctime> R KFz6t
#include <deque> //STL 双端队列容器 '8 1M%KO
#include <exception> //异常处理类 .YYiUA-i9n
#include <fstream> *
Od_Cl
#include <functional> //STL 定义运算函数(代替运算符) Agl5[{]E
#include <limits> [0lCb"
#include <list> //STL 线性列表容器 M+gQN}BAr
#include <map> //STL 映射容器 !<h*\%;
#include <iomanip> WQ\' z?P
#include <ios> //基本输入/输出支持 f h)Cz)
#include <iosfwd> //输入/输出系统使用的前置声明 7Z0
)k9*
#include <iostream> QjWv?tm
#include <istream> //基本输入流 <?yAIhgN*
#include <ostream> //基本输出流 9b``l-rO
#include <queue> //STL 队列容器 %ErLL@e
#include <set> //STL 集合容器 \tye:!a?;@
#include <sstream> //基于字符串的流 rqxoqc Z
#include <stack> //STL 堆栈容器 8v8?D8\=|
#include <stdexcept> //标准异常类 D(Pd?iQIO
#include <streambuf> //底层输入/输出支持 b*',(J94
#include <string> //字符串类 we4e>)
#include <utility> //STL 通用模板类 ZK[4 n5}
#include <vector> //STL 动态数组容器 R56:}<Y,
#include <cwchar> Uq<c+4)5
#include <cwctype> :UoZ`O~
g;i>nzf
using namespace std; 2oXsPrtZ
mQ;b'0&
////////////////////////////////////////////////////////////////////////// ?SK1*; i
Y/2@PzA|
C99 增加 M`-#6,m3
^Y8?iC<+
#include <complex.h> //复数处理 (@B
gsY
#include <fenv.h> //浮点环境 1#qyD3K
#include <inttypes.h> //整数格式转换 -8-
#include <stdbool.h> //布尔环境 R+Dx#Wn I
#include <stdint.h> //整型环境 Jt\?,~,
#include <tgmath.h> //通用类型数学宏