C、传统 C++ =.Pw`.
/R]U}o^/(%
#include <assert.h> //设定插入点 tdBm
(CsN
#include <ctype.h> //字符处理 N
+Yxz;Mg
#include <errno.h> //定义错误码 y" RF;KW>
#include <float.h> //浮点数处理 $p#Bi-&
#include <fstream.h> //文件输入/输出 AG`L64B
#include <iomanip.h> //参数化输入/输出 A5c%SCq;
#include <iostream.h> //数据流输入/输出 KX ,S
#include <limits.h> //定义各种数据类型最值常量 ;=)k<6
#include <locale.h> //定义本地化函数 wh$sn:J
#include <math.h> //定义数学函数 iVhJ t#_b
#include <stdio.h> //定义输入/输出函数 >E;uU[v)I
#include <stdlib.h> //定义杂项函数及内存分配函数 \A 2r]
#include <string.h> //字符串处理 K[Y I4pt7
#include <strstrea.h> //基于数组的输入/输出 kCWV r
#include <time.h> //定义关于时间的函数 YxYH2*q@
#include <wchar.h> //宽字符处理及输入/输出 y-'$(x
#include <wctype.h> //宽字符分类 !;q&NHco
AVlhNIr
////////////////////////////////////////////////////////////////////////// at#ja_ hd
?~BC#B\>o
标准 C++ (同上的不再注释) Gw/Pk4R
I0D(F
i
#include <algorithm> //STL 通用算法 eI$oLl@
#include <bitset> //STL 位集容器 _mqL8ho
#include <cctype> 2VmNZ{<
#include <cerrno> LO9=xGj.
#include <clocale> V#2+"(7h
#include <cmath> 6iVxc|Ia
#include <complex> //复数类 {Z(h.de
#include <cstdio> %
L$bf#
#include <cstdlib> {f/~1G[M
#include <cstring> k9sh @ENy
#include <ctime> vYwYQG
#include <deque> //STL 双端队列容器 %KCyb
#include <exception> //异常处理类 F~R;n_IJ
#include <fstream> hgYZOwQ
#include <functional> //STL 定义运算函数(代替运算符) :3v}kLO7|
#include <limits> ^S4d:-.3
#include <list> //STL 线性列表容器 b[r8e
#include <map> //STL 映射容器 PCHu#5j_a
#include <iomanip> DU0zez I9
#include <ios> //基本输入/输出支持 M'?,] an
#include <iosfwd> //输入/输出系统使用的前置声明 ZQ4p(6a
#include <iostream> %aG5F}S2~
#include <istream> //基本输入流 v|XTr,#
#include <ostream> //基本输出流 ]l_\71
#include <queue> //STL 队列容器 %".HaI]
#include <set> //STL 集合容器 [L3=x;U
#include <sstream> //基于字符串的流 hci6P>h<ia
#include <stack> //STL 堆栈容器 ? &o2st
#include <stdexcept> //标准异常类 pA'4|ffwe
#include <streambuf> //底层输入/输出支持 zqim R#u
#include <string> //字符串类 b z`+ k,*
#include <utility> //STL 通用模板类 B nFwlw
#include <vector> //STL 动态数组容器 1{)5<!9! l
#include <cwchar> K[I=6
#include <cwctype> d~9A+m3b_
zGb|) A~,
using namespace std; F+YZE[h%
e(]!GA
////////////////////////////////////////////////////////////////////////// ePOG}k($/%
1!xQ=DU"
C99 增加 ,Xu-@br{
xgwY@'GN
#include <complex.h> //复数处理 b1(T4w6
#include <fenv.h> //浮点环境 >!eAM )
#include <inttypes.h> //整数格式转换 ,`'Qi%O
#include <stdbool.h> //布尔环境 Fco`^kql.D
#include <stdint.h> //整型环境 {{$Nqn,pH
#include <tgmath.h> //通用类型数学宏