C、传统 C++ :ZG^`H/X1d
|`d,r.+P7
#include <assert.h> //设定插入点 Jf6uE?.
#include <ctype.h> //字符处理 =.NZ{G
#include <errno.h> //定义错误码 ~_<I}!j/B
#include <float.h> //浮点数处理 OjO$.ecT
#include <fstream.h> //文件输入/输出 jm9J-%?
#include <iomanip.h> //参数化输入/输出 q ,6 y{RyS
#include <iostream.h> //数据流输入/输出 x}Qet4vV
#include <limits.h> //定义各种数据类型最值常量 2c:H0O
0o
#include <locale.h> //定义本地化函数 NJK?5{H'
#include <math.h> //定义数学函数 juOOD
#include <stdio.h> //定义输入/输出函数 $Gt1T[:QUX
#include <stdlib.h> //定义杂项函数及内存分配函数 BM PLL2I
#include <string.h> //字符串处理 oEPO0O
#include <strstrea.h> //基于数组的输入/输出 .
+_IpygQ
#include <time.h> //定义关于时间的函数 3S='/^l
#include <wchar.h> //宽字符处理及输入/输出 `.>5H\w0e
#include <wctype.h> //宽字符分类 eBiP\
5c6CH k`:
////////////////////////////////////////////////////////////////////////// HRS|VC$tz
dv3+x\`9
标准 C++ (同上的不再注释) L-ans2?
nsR^TD;
#include <algorithm> //STL 通用算法 9`{[J['V
#include <bitset> //STL 位集容器 lsmzy_gV7
#include <cctype> QYDTb=h~
#include <cerrno> T{=.mW^ x
#include <clocale> `< 8Fc`;[
#include <cmath> pL` snVz
#include <complex> //复数类 ,])@?TJb@
#include <cstdio> g*$
0G
#include <cstdlib> |F5^mpU
#include <cstring> Y ON@G5^
#include <ctime> <()xO(
#include <deque> //STL 双端队列容器 G#V5E)Dx
#include <exception> //异常处理类 xTQV?g
J
#include <fstream> {m5tgVi&
#include <functional> //STL 定义运算函数(代替运算符) :H[E
W3Q
#include <limits> U!m-{7s$
#include <list> //STL 线性列表容器 -x
)(2|
#include <map> //STL 映射容器 &a,OfSz
#include <iomanip> "LhvzM-<8
#include <ios> //基本输入/输出支持 *sw7niw
#include <iosfwd> //输入/输出系统使用的前置声明 #A7jyg":
#include <iostream> o|BP$P8V
#include <istream> //基本输入流 1oLv.L
#include <ostream> //基本输出流 SqA
J-_~
#include <queue> //STL 队列容器 9BEFr/.
#include <set> //STL 集合容器 S=`+Ryc
#include <sstream> //基于字符串的流 p d[ncL
#include <stack> //STL 堆栈容器 zSEs?
#include <stdexcept> //标准异常类 bx4'en#
#include <streambuf> //底层输入/输出支持 S~Z|PLtF
#include <string> //字符串类 fBn"kr;
#include <utility> //STL 通用模板类 -]uUY e
c
#include <vector> //STL 动态数组容器 Ny- [9S-<
#include <cwchar> >'uU)Y{
#include <cwctype> G!N{NCq
?>c=}I#Ui-
using namespace std; F>je4S;
:~Q!SL N
////////////////////////////////////////////////////////////////////////// wxg^Bq)D*R
M 3 '$[
C99 增加 l%ayI
OLGBt
#include <complex.h> //复数处理 kum#^^4G|
#include <fenv.h> //浮点环境 f3j{V N
#include <inttypes.h> //整数格式转换 im7nJQ^H$q
#include <stdbool.h> //布尔环境 [D-Q'"'A
#include <stdint.h> //整型环境 2aw&YZ&Xo
#include <tgmath.h> //通用类型数学宏