C、传统 C++ *CIR$sS
~6)A/]6
#include <assert.h> //设定插入点 eVXlQO
#include <ctype.h> //字符处理 7O=N78M
#include <errno.h> //定义错误码 bp>-{Nv
#include <float.h> //浮点数处理 ;yvx -
#include <fstream.h> //文件输入/输出 !R;NV|.eI6
#include <iomanip.h> //参数化输入/输出 JZa^GW:YQh
#include <iostream.h> //数据流输入/输出 rkF>c
#include <limits.h> //定义各种数据类型最值常量 fbG+.'
#include <locale.h> //定义本地化函数 `Mh3v@K:
#include <math.h> //定义数学函数 &!xePKvO6k
#include <stdio.h> //定义输入/输出函数 ]f3[I3;K
#include <stdlib.h> //定义杂项函数及内存分配函数 W7F1o[
#include <string.h> //字符串处理 i1(}E#
#include <strstrea.h> //基于数组的输入/输出 mM[!g'*
#include <time.h> //定义关于时间的函数 BrHw02G
#include <wchar.h> //宽字符处理及输入/输出 _VjfH2Y
#include <wctype.h> //宽字符分类 )2t DX=D
u\jQe@j
'
////////////////////////////////////////////////////////////////////////// iOFp 9i=j
pQ_EJX)
标准 C++ (同上的不再注释) lR[]A
K~C6dy
#include <algorithm> //STL 通用算法 P1r)n{;
#include <bitset> //STL 位集容器 vky@L! &,
#include <cctype> un)YK
#include <cerrno> 3>~W_c9@
#include <clocale> <r@w`G
#include <cmath> xF#'+Y
#include <complex> //复数类 H n^)Xw
#include <cstdio> !T'`L{Sj
#include <cstdlib> ag_RKlM3
#include <cstring> sbju3nvk
#include <ctime> ;*H@E(g
#include <deque> //STL 双端队列容器 D?Mj<||
#include <exception> //异常处理类 i-<1M|f
#include <fstream> oc^j<!Rh
#include <functional> //STL 定义运算函数(代替运算符) 'P:u/Sq?m
#include <limits> i7%v2_
#include <list> //STL 线性列表容器 B2R^oL'}
#include <map> //STL 映射容器 uIvAmc4
#include <iomanip> |#>:@{X<
#include <ios> //基本输入/输出支持 Xxz_h*
#include <iosfwd> //输入/输出系统使用的前置声明 >!U oS
#include <iostream> `GBa3
#include <istream> //基本输入流 '4"9f]:
#include <ostream> //基本输出流 `X:o]t@
#include <queue> //STL 队列容器 } xy>uT
#include <set> //STL 集合容器 .Wr%l$~
#include <sstream> //基于字符串的流 4 kNiS^h
#include <stack> //STL 堆栈容器 I:L}7uA[t
#include <stdexcept> //标准异常类 ma gZmY~
#include <streambuf> //底层输入/输出支持 [f1'Qb
#include <string> //字符串类 Fv<^\q
#include <utility> //STL 通用模板类 Fx3CY W
#include <vector> //STL 动态数组容器 e#5LBSP
#include <cwchar> 'o!{YLJ fM
#include <cwctype> _x2i=SFo*$
Mur)'
using namespace std; I<``d Ne9Q
9tMaOm
////////////////////////////////////////////////////////////////////////// ^%qe&Pe2
:pp@x*uNP
C99 增加 Fuz'!
+ n)_\@aQ
#include <complex.h> //复数处理 !jySID?q
#include <fenv.h> //浮点环境 ZNKopA(=|%
#include <inttypes.h> //整数格式转换 r*r3QsO
#include <stdbool.h> //布尔环境
js$L<^7
#include <stdint.h> //整型环境 _, ki/7{
#include <tgmath.h> //通用类型数学宏