C、传统 C++ V)<Jj
\%BII>VS
#include <assert.h> //设定插入点 h[*:\P`
#include <ctype.h> //字符处理 {wJ8%
;Z7
#include <errno.h> //定义错误码 ~$PY6s
#include <float.h> //浮点数处理 FW=`Fm@z%%
#include <fstream.h> //文件输入/输出 @{V bu
#include <iomanip.h> //参数化输入/输出
:d)y
#include <iostream.h> //数据流输入/输出 ^]n:/kZ5"[
#include <limits.h> //定义各种数据类型最值常量 /Pv
dP#!
#include <locale.h> //定义本地化函数 *TyLB&<t
#include <math.h> //定义数学函数 9@3cz_[J
#include <stdio.h> //定义输入/输出函数
Q h~
#include <stdlib.h> //定义杂项函数及内存分配函数 &)
qs0
#include <string.h> //字符串处理 ^7l+ Ofb3
#include <strstrea.h> //基于数组的输入/输出 H3#rFO"C*
#include <time.h> //定义关于时间的函数 }t%2giJ
#include <wchar.h> //宽字符处理及输入/输出 yt+d
f0l
#include <wctype.h> //宽字符分类 3q-Xj:FP
2QIx~Er
////////////////////////////////////////////////////////////////////////// (Q(=MEar
+d!"Zy2|B
标准 C++ (同上的不再注释) Q'~3Ik
ihp>cl?
#include <algorithm> //STL 通用算法 vX;~m7+
#include <bitset> //STL 位集容器 N!lQ;o'
#include <cctype> 2'U+QK@
#include <cerrno> T/$hN hQK
#include <clocale> 1c4@qQyo
#include <cmath> HRg< f= oz
#include <complex> //复数类 |SX31T9rG
#include <cstdio> #Y<QEGb(
#include <cstdlib> S;tv4JY
#include <cstring> hMnJH_siY
#include <ctime> bIy:~z5
#include <deque> //STL 双端队列容器 ;d<RPVE:
#include <exception> //异常处理类 3[Z7bhpV
#include <fstream> I?OnEw
#include <functional> //STL 定义运算函数(代替运算符) 8~|tl,
#include <limits> K<E|29t^k
#include <list> //STL 线性列表容器 6~ +/cY-V
#include <map> //STL 映射容器
WfH4*e
#include <iomanip> D`
a bVf
#include <ios> //基本输入/输出支持 "w&G1kw5I
#include <iosfwd> //输入/输出系统使用的前置声明 ? t_$C,A+
#include <iostream> ^kh@AgG^
#include <istream> //基本输入流 M/evZ?uis
#include <ostream> //基本输出流 "t&_!Rm
#include <queue> //STL 队列容器 ~8tb^
#include <set> //STL 集合容器 |PutTcjQ
#include <sstream> //基于字符串的流 3-4CGSX;X
#include <stack> //STL 堆栈容器 i1^#TC$x
#include <stdexcept> //标准异常类 T{4Ru6[
#include <streambuf> //底层输入/输出支持 ?TMrnR/d
#include <string> //字符串类 z;1qYW[-A
#include <utility> //STL 通用模板类 &BE'~G
#include <vector> //STL 动态数组容器 l'FNp
#include <cwchar> EF8'ycJk+
#include <cwctype> ZnZ`/zNO
!cA4erBP
using namespace std; dPb@[k
hM[QR'\QS
////////////////////////////////////////////////////////////////////////// r8TNl@Z
Q}|QgN
C99 增加 w;]~2$
't#E-+o
#include <complex.h> //复数处理 Q|Go7MQZ@k
#include <fenv.h> //浮点环境 ]vUTb9>{?
#include <inttypes.h> //整数格式转换 XHYVcwmDz-
#include <stdbool.h> //布尔环境 ~O~R,h>
#include <stdint.h> //整型环境 p?Jx2(%m
#include <tgmath.h> //通用类型数学宏