C、传统 C++ '<vb_8.
?&zi{N
#include <assert.h> //设定插入点 r7].48D
#include <ctype.h> //字符处理 5!S#}=f=
#include <errno.h> //定义错误码 gvc/Z <Y
#include <float.h> //浮点数处理 i-;#FT+Xc
#include <fstream.h> //文件输入/输出 Cg?Mk6 i
#include <iomanip.h> //参数化输入/输出 @;KYvDY
#include <iostream.h> //数据流输入/输出 si)>:e
#include <limits.h> //定义各种数据类型最值常量 0:71Xm
#include <locale.h> //定义本地化函数 `R
xCs`
#include <math.h> //定义数学函数 &;pM<h
#include <stdio.h> //定义输入/输出函数 ? %8%1d
#include <stdlib.h> //定义杂项函数及内存分配函数 *U6+b
#include <string.h> //字符串处理 ;du},>T$n
#include <strstrea.h> //基于数组的输入/输出 {$Uj&/IC
#include <time.h> //定义关于时间的函数 F-b]>3r
#include <wchar.h> //宽字符处理及输入/输出 &o7PB`(l
#include <wctype.h> //宽字符分类 (3$DUvx7
SrB>_0**
////////////////////////////////////////////////////////////////////////// f8SO:ihXL
IY8<^Q']
标准 C++ (同上的不再注释) +c!HXX
SPRTJdaC9
#include <algorithm> //STL 通用算法 ^&C/,,U
#include <bitset> //STL 位集容器 p-_9I7?
#include <cctype> E3Y0@r
#include <cerrno> Tn/Z s|
#include <clocale> Cse`MP
#include <cmath> tFc<f7k
#include <complex> //复数类 ]LZ#[xnM7
#include <cstdio> R) :Xs .
#include <cstdlib> rr2!H%:
#include <cstring> <`"
#include <ctime> JNXzZ4U
#include <deque> //STL 双端队列容器 KM)f~^
#include <exception> //异常处理类 NOwd'iU
#include <fstream> rv(N0p/
#include <functional> //STL 定义运算函数(代替运算符) aem gGw<
#include <limits> R`DzVBLl
#include <list> //STL 线性列表容器 Q0Do B
#include <map> //STL 映射容器 ^`iz%^
#include <iomanip> N?-ZvE\C
#include <ios> //基本输入/输出支持 1kpw*$P0
#include <iosfwd> //输入/输出系统使用的前置声明 5,oLl {S'
#include <iostream> A?lR[`'u\
#include <istream> //基本输入流 3M+rFB}tS
#include <ostream> //基本输出流 4)OOj14-V
#include <queue> //STL 队列容器
!w Q?+:6
#include <set> //STL 集合容器 Al6%RFt
#include <sstream> //基于字符串的流 |a"]@W$>
#include <stack> //STL 堆栈容器 mjg@c|rTG
#include <stdexcept> //标准异常类 yQ[ ;.<%v
#include <streambuf> //底层输入/输出支持 OI6Mx$
#include <string> //字符串类 Iox )-
#include <utility> //STL 通用模板类 HfhI9f_ x
#include <vector> //STL 动态数组容器 ZiQ<SSo:
#include <cwchar> oy#(]K3`O
#include <cwctype> +D4m@O
Rc{R^5B
using namespace std; H"^9g3U
f OR9 N/
////////////////////////////////////////////////////////////////////////// mRC3w(W
-6I*k |%8T
C99 增加 EVZ1Z
`pCy:J?d>l
#include <complex.h> //复数处理 LTzdg >\oJ
#include <fenv.h> //浮点环境 @v@F%JCZ
#include <inttypes.h> //整数格式转换 e(a,nZF.
#include <stdbool.h> //布尔环境 hKN ;tq,
#include <stdint.h> //整型环境 |n tWMm:(
#include <tgmath.h> //通用类型数学宏