C、传统 C++ t$m268m~
U^-:qT;CX
#include <assert.h> //设定插入点 BlF>TI%2
#include <ctype.h> //字符处理 N2 wBH+3w
#include <errno.h> //定义错误码 KnaQhZ
#include <float.h> //浮点数处理 }*4 XwUM e
#include <fstream.h> //文件输入/输出 D'$ki[{,
#include <iomanip.h> //参数化输入/输出 MN}@EQvW==
#include <iostream.h> //数据流输入/输出 &}_E~jKK
#include <limits.h> //定义各种数据类型最值常量 4onRO!G,
#include <locale.h> //定义本地化函数 }Dc0 Y
#include <math.h> //定义数学函数 b%IRIi&,
#include <stdio.h> //定义输入/输出函数 m-xSF]q=<
#include <stdlib.h> //定义杂项函数及内存分配函数 PO%Z.ol9
#include <string.h> //字符串处理 LBh|4S$K
#include <strstrea.h> //基于数组的输入/输出 @T0F }(k
#include <time.h> //定义关于时间的函数 "t$c'`
#include <wchar.h> //宽字符处理及输入/输出 AcqsXBKd
#include <wctype.h> //宽字符分类 O(2)A>}
jjN]*{s
////////////////////////////////////////////////////////////////////////// _DnZ=&=MA
$,ZBK6CT
标准 C++ (同上的不再注释) y'?ksow
(C
dx7v2Nh
#include <algorithm> //STL 通用算法 s"7wG!yf
#include <bitset> //STL 位集容器 w] i&N1i
#include <cctype>
] lE6:^V
#include <cerrno> 0>}
FNRC
#include <clocale> JL5
)
#include <cmath> C_mPw
#include <complex> //复数类 80TSE*
#include <cstdio> v9QR,b`n
#include <cstdlib> 9lbe[w@
#include <cstring> /GCI`hx>"
#include <ctime> ebxpKtEC
#include <deque> //STL 双端队列容器 (RW02%`jjy
#include <exception> //异常处理类 >k)}R|tJ
#include <fstream> &ejJf{id
#include <functional> //STL 定义运算函数(代替运算符) L #c*)
#include <limits> Q(=} PF
#include <list> //STL 线性列表容器 h;?=:(
#include <map> //STL 映射容器 `dO)}}| y
#include <iomanip> Xxhzzm-B
#include <ios> //基本输入/输出支持 ZCsL%(
#include <iosfwd> //输入/输出系统使用的前置声明 fs_6`Xt
#include <iostream> gVO<W.?
#include <istream> //基本输入流 =+HMPV6yg7
#include <ostream> //基本输出流 L 1iA
^x
#include <queue> //STL 队列容器 R >f$*T
#include <set> //STL 集合容器 $9k7A 8K
#include <sstream> //基于字符串的流 1Tz5tU9kR
#include <stack> //STL 堆栈容器 yxP(|
#include <stdexcept> //标准异常类 \0?^%CD+@
#include <streambuf> //底层输入/输出支持 |)`<D
#include <string> //字符串类 MHar9)$}
#include <utility> //STL 通用模板类 o?%1^6&HE
#include <vector> //STL 动态数组容器 X%w` :c&
#include <cwchar> lMoi5q
#include <cwctype> `/$yCXy
:)hS-*P
using namespace std; +0)s{?
8@y@}
////////////////////////////////////////////////////////////////////////// O7 5^(keW
Z3X/SQ'0
C99 增加 y;aZMT.YI
GG@GjP<_
#include <complex.h> //复数处理 M+4>l\
#include <fenv.h> //浮点环境 [*^`rQ
#include <inttypes.h> //整数格式转换 "O@L
IR7
#include <stdbool.h> //布尔环境 /o%J /|
#include <stdint.h> //整型环境 rV;X1x}l
#include <tgmath.h> //通用类型数学宏