C、传统 C++ F5*-HR
iJ{axa &
#include <assert.h> //设定插入点 ] &8em1
#include <ctype.h> //字符处理 ([8*Py|
#include <errno.h> //定义错误码 `oxBIn*BD
#include <float.h> //浮点数处理 mI&3y9; (
#include <fstream.h> //文件输入/输出 r Ea(1(I
#include <iomanip.h> //参数化输入/输出 QbJ7$, 4
#include <iostream.h> //数据流输入/输出 f7&ni#^Ztj
#include <limits.h> //定义各种数据类型最值常量 GgpE"M?
#include <locale.h> //定义本地化函数 fzJiW@-T
#include <math.h> //定义数学函数 @/#G2<Vp1
#include <stdio.h> //定义输入/输出函数 awzlLI<2p
#include <stdlib.h> //定义杂项函数及内存分配函数 AROHe
#include <string.h> //字符串处理 C. .| O
#include <strstrea.h> //基于数组的输入/输出 L1kn="5
#include <time.h> //定义关于时间的函数 ;~F*2)
#include <wchar.h> //宽字符处理及输入/输出 Z\0wQ;}
#include <wctype.h> //宽字符分类 %DttkrhL
T!x/^
////////////////////////////////////////////////////////////////////////// E2zL-ft.
4rhHvp
标准 C++ (同上的不再注释) @WazSL;N
ug%7}&
#include <algorithm> //STL 通用算法 t]B`>SL3W
#include <bitset> //STL 位集容器 Mc?_2<u-
#include <cctype> 3Dr\ O_`u
#include <cerrno> 3cJ'tRsp<
#include <clocale> #?Ix6 {R
#include <cmath> ,zjz "7'
#include <complex> //复数类 Y~Uf2(7b5
#include <cstdio> Aw7N'0K9UN
#include <cstdlib> $?ss5:
S
#include <cstring> u&*[
#include <ctime> ~=yU%5 s@
#include <deque> //STL 双端队列容器 *L<EGFP
#include <exception> //异常处理类 f#c}}>V8
#include <fstream> 6GuTd
#include <functional> //STL 定义运算函数(代替运算符) @.L#u#
#include <limits> ^C
K!=oO
#include <list> //STL 线性列表容器 U R^r>
#include <map> //STL 映射容器 DlzL(p@r
#include <iomanip> zW`Hqt;
#include <ios> //基本输入/输出支持 ?<J~SF Tt
#include <iosfwd> //输入/输出系统使用的前置声明 |K.I%B
#include <iostream> xjp0w7L)J
#include <istream> //基本输入流 IfH/~EtX
#include <ostream> //基本输出流 W2<'b05
#include <queue> //STL 队列容器 'z91aNG]
#include <set> //STL 集合容器 5]G%MB/|$
#include <sstream> //基于字符串的流 U2`:'
#include <stack> //STL 堆栈容器 /K2[`+-
#include <stdexcept> //标准异常类 =o~mZ/ 7=M
#include <streambuf> //底层输入/输出支持 c6jVx_tt.
#include <string> //字符串类
6(7
56
#include <utility> //STL 通用模板类 J[}j8x?r
#include <vector> //STL 动态数组容器 +_X*one
#include <cwchar> ?jmL4V2-f
#include <cwctype> uBG!R#T
mBL?2~M
using namespace std; g8/ ,E-u
}>iNT.Lvd
////////////////////////////////////////////////////////////////////////// e=##X}4zZ
$$ $[Vn_H<
C99 增加 kP5I+B
hcW>R
#include <complex.h> //复数处理 BuvnY
#include <fenv.h> //浮点环境 [$} \Gv
#include <inttypes.h> //整数格式转换 A#`$#CO
#include <stdbool.h> //布尔环境 e6*,MnqBh
#include <stdint.h> //整型环境 Eg&5tAyM
#include <tgmath.h> //通用类型数学宏