C、传统 C++ cewQQ&
/OViqZ;9
#include <assert.h> //设定插入点 PoC24#vS
#include <ctype.h> //字符处理 xa K:@/
#include <errno.h> //定义错误码 BKN]DxJ6
#include <float.h> //浮点数处理 RVD=CX
#include <fstream.h> //文件输入/输出 `P'{HT
#include <iomanip.h> //参数化输入/输出 nwz}&nR
#include <iostream.h> //数据流输入/输出 Bs^W0K$uBO
#include <limits.h> //定义各种数据类型最值常量 k%hif8y
#include <locale.h> //定义本地化函数 o'W &gkb9
#include <math.h> //定义数学函数 ] $5r h8
#include <stdio.h> //定义输入/输出函数 @%RDw*L(
#include <stdlib.h> //定义杂项函数及内存分配函数 @~zhAU!
#include <string.h> //字符串处理
}UX >O
#include <strstrea.h> //基于数组的输入/输出 JBuorc
#include <time.h> //定义关于时间的函数 y1P ?A]v
#include <wchar.h> //宽字符处理及输入/输出 b+hZ<U/
#include <wctype.h> //宽字符分类 wjY3:S~
o8bVz2E
////////////////////////////////////////////////////////////////////////// J`\%'pEn
IUwY/R9Q
标准 C++ (同上的不再注释) -OoXb( I4
$+$+;1[
#include <algorithm> //STL 通用算法 sjztT<{Q^-
#include <bitset> //STL 位集容器 t@b';Cuv
#include <cctype> #*?a"
#include <cerrno>
~B/|#o2
#include <clocale>
ZQ@^(64
#include <cmath> TMGZHOAt
#include <complex> //复数类 Dj?95Z,r
#include <cstdio> 16xM?P
#include <cstdlib> pp/Cn4"w
#include <cstring> ,)%nLc
#include <ctime> 9-9`;Z
#include <deque> //STL 双端队列容器 az7L0pp
#include <exception> //异常处理类 )KkA<O}f
#include <fstream> k4eV*e8
#include <functional> //STL 定义运算函数(代替运算符) ZcIwyh(`
#include <limits> W)o-aX!P
#include <list> //STL 线性列表容器 OfIml.
#include <map> //STL 映射容器 %$S.4#G2
#include <iomanip> i |cSO2O+
#include <ios> //基本输入/输出支持 XYf;72*
#include <iosfwd> //输入/输出系统使用的前置声明 ?f:FmgQk
#include <iostream> I 8e{%PK
#include <istream> //基本输入流 3xbA]u;gp
#include <ostream> //基本输出流 RfFeAg,]/
#include <queue> //STL 队列容器 r*y4Vx7
#include <set> //STL 集合容器 'Ko
T8g\b
#include <sstream> //基于字符串的流 :QB Wy
#include <stack> //STL 堆栈容器 c!E+&5|n
#include <stdexcept> //标准异常类 KK/~W
#include <streambuf> //底层输入/输出支持 _epi[zf@
#include <string> //字符串类 -SZ^;t
#include <utility> //STL 通用模板类 ^?w6
#include <vector> //STL 动态数组容器 F~z4T/TN%G
#include <cwchar> 9^>nZ6
#include <cwctype> `nn;E%n
BIS5u4
using namespace std; q>f1V3
kx*=1AfU+Y
////////////////////////////////////////////////////////////////////////// vxY7/ _]
[Nsv]Yz
C99 增加 HP"5*C5D
*b~$|H-\
#include <complex.h> //复数处理 p e |k}{
#include <fenv.h> //浮点环境 rWAJL9M
#include <inttypes.h> //整数格式转换 ,"5Fw4G6*
#include <stdbool.h> //布尔环境 O~Pbu[C
#include <stdint.h> //整型环境 ?tg(X[h{S
#include <tgmath.h> //通用类型数学宏