C、传统 C++ +mn[5Y} :
g($2Dk_F2
#include <assert.h> //设定插入点 NBGH_6DROw
#include <ctype.h> //字符处理 kuP(r
#include <errno.h> //定义错误码 sXPe/fWo
#include <float.h> //浮点数处理 )SGq[B6@I
#include <fstream.h> //文件输入/输出 ?UoBV$
#include <iomanip.h> //参数化输入/输出 |CyE5i0
#include <iostream.h> //数据流输入/输出 4kx
N<]
#include <limits.h> //定义各种数据类型最值常量 /\n-P'}
#include <locale.h> //定义本地化函数 j\M?~=*w
#include <math.h> //定义数学函数 @o`AmC.
8
#include <stdio.h> //定义输入/输出函数 L!xi
#include <stdlib.h> //定义杂项函数及内存分配函数 Gd85kY@w7
#include <string.h> //字符串处理 gcT%c|.
#include <strstrea.h> //基于数组的输入/输出 ?Ir:g=RP*
#include <time.h> //定义关于时间的函数 ym1Y4,
#include <wchar.h> //宽字符处理及输入/输出
&6VnySE?
#include <wctype.h> //宽字符分类 P&Vv/D
nu%*'.
////////////////////////////////////////////////////////////////////////// wibNQ`4k
cvL;3jRo
标准 C++ (同上的不再注释) s~X%Y<9l
=I_'.b
#include <algorithm> //STL 通用算法 w}L[u
r;I_
#include <bitset> //STL 位集容器 S
f#
R0SA
#include <cctype> 9->if/r,o
#include <cerrno> t ?FBG4
#include <clocale> R:qW;n%AF
#include <cmath> H Pz+Dm
#include <complex> //复数类 (E1~H0^
#include <cstdio> |FRg\#kf%
#include <cstdlib> [nq@m c~<
#include <cstring> G3T]`Atf
#include <ctime> ");a3hD
#include <deque> //STL 双端队列容器 `R^g U]Z,
#include <exception> //异常处理类 $6IJP\
#include <fstream> VIf.q)_k
#include <functional> //STL 定义运算函数(代替运算符) iy.\=Cs$N
#include <limits> &rR2,3r=
#include <list> //STL 线性列表容器 N;%6:I./
#include <map> //STL 映射容器 F#E3q|Q"BS
#include <iomanip> @=u3ZVD
#include <ios> //基本输入/输出支持 JucY[`|JV
#include <iosfwd> //输入/输出系统使用的前置声明 jL}v9$
#include <iostream> OY({.uV dX
#include <istream> //基本输入流 FS1z`wYP
#include <ostream> //基本输出流 E]r?{t`]
#include <queue> //STL 队列容器 w0unS`\4
#include <set> //STL 集合容器 |R:'\+E
#include <sstream> //基于字符串的流 wMN]~|z>
#include <stack> //STL 堆栈容器 |_U= z;Y
#include <stdexcept> //标准异常类 >9J:Uo1z
#include <streambuf> //底层输入/输出支持 Tlr v={
#include <string> //字符串类 Xch~
1K
#include <utility> //STL 通用模板类 )+Pus~w
#include <vector> //STL 动态数组容器 5"H=zJ=r
#include <cwchar> \~ wMfP8
#include <cwctype> $ ocdI5
9lE_nc
using namespace std; >yDZw!C
/>>\IR
////////////////////////////////////////////////////////////////////////// _)-o1`*-
mX|ojZ
C99 增加 7{Wny&[0
dAj$1Ke
#include <complex.h> //复数处理 Znv,9-
#include <fenv.h> //浮点环境 %&bY]w
#include <inttypes.h> //整数格式转换 gBD]}vo-
#include <stdbool.h> //布尔环境 *X}`PF
#include <stdint.h> //整型环境 sDV Q#}a
#include <tgmath.h> //通用类型数学宏