C、传统 C++ A"W}l)+X
qTd6UKg
#include <assert.h> //设定插入点 ,^d!K(xb
#include <ctype.h> //字符处理 b :J$
#include <errno.h> //定义错误码 HaiaDY)
#include <float.h> //浮点数处理 }ki}J >j|f
#include <fstream.h> //文件输入/输出 TexSUtx@$
#include <iomanip.h> //参数化输入/输出 g#b uy
#include <iostream.h> //数据流输入/输出 VfON{ 1g
#include <limits.h> //定义各种数据类型最值常量 Qin;{8I0
#include <locale.h> //定义本地化函数 [bIR$c[G
#include <math.h> //定义数学函数 q(YFt*(;w
#include <stdio.h> //定义输入/输出函数 A=a~ [vre
#include <stdlib.h> //定义杂项函数及内存分配函数 -|\SNbPTV
#include <string.h> //字符串处理 *M^t@ h l
#include <strstrea.h> //基于数组的输入/输出 InCo[ 8SI
#include <time.h> //定义关于时间的函数 LjOHlT'
#include <wchar.h> //宽字符处理及输入/输出 di,?`
#include <wctype.h> //宽字符分类 Xj+oV
n>-"\cjV
////////////////////////////////////////////////////////////////////////// ^+)q@{\8Y
$4Ko
标准 C++ (同上的不再注释) I'$}n$UvZ
ZUiInO
#include <algorithm> //STL 通用算法 `E4OgO
#include <bitset> //STL 位集容器
wn-{Vkpm
#include <cctype> $,v[<T`
#include <cerrno> !(L\X'jH
#include <clocale> ulzQ[?OMl
#include <cmath> (RtjD`e}
#include <complex> //复数类 D3i`ehh
#include <cstdio> \'AS@L"Wj^
#include <cstdlib> Z/hk)GI
#include <cstring> R]8^
@i1
#include <ctime> 7Rix=*
#include <deque> //STL 双端队列容器 x-3!sf@
#include <exception> //异常处理类 IX]K"hT
#include <fstream> +CF"Bm8@
#include <functional> //STL 定义运算函数(代替运算符) sH}q &=
#include <limits> :lGH31GG
#include <list> //STL 线性列表容器 057$b!A-a
#include <map> //STL 映射容器 h~zG*B5F
#include <iomanip> |m5 E%E
#include <ios> //基本输入/输出支持 4X^{aIlshk
#include <iosfwd> //输入/输出系统使用的前置声明 ; Da[jFP
#include <iostream> hExw} c
#include <istream> //基本输入流 {#Vck\&
#include <ostream> //基本输出流 y!;PBsU%Sx
#include <queue> //STL 队列容器 `4N{x.N
#include <set> //STL 集合容器 Pa}B0XBWP
#include <sstream> //基于字符串的流 LtDQgel"
#include <stack> //STL 堆栈容器 Uq8=R)1<|d
#include <stdexcept> //标准异常类 @T6Z3Zj}
#include <streambuf> //底层输入/输出支持 G>q16nS~KP
#include <string> //字符串类 5HAIKc
#include <utility> //STL 通用模板类 1FO T
#include <vector> //STL 动态数组容器 <y30t[.E6
#include <cwchar> {ylhh%t4hi
#include <cwctype> Y3J;Kk#AH
"Nx3_mQ
using namespace std; A7SE>e>
'z}Hg
*
////////////////////////////////////////////////////////////////////////// }CyS_Tc
6-w'? G37
C99 增加 8iDg2_l`G
-<0PBl
#include <complex.h> //复数处理 Q:#Kt@W
#include <fenv.h> //浮点环境 V&>\U?q:
#include <inttypes.h> //整数格式转换 <P"4Mk7`s
#include <stdbool.h> //布尔环境 w_ sA8B
#include <stdint.h> //整型环境 yXdJ5Me(T
#include <tgmath.h> //通用类型数学宏