C、传统 C++ dHg[r|xC
x@/:{B
#include <assert.h> //设定插入点 h 6IXD N
#include <ctype.h> //字符处理 $`%Om WW{
#include <errno.h> //定义错误码 |'P$zMAF
#include <float.h> //浮点数处理 u)r:0;5
#include <fstream.h> //文件输入/输出 7{w}0PMx
#include <iomanip.h> //参数化输入/输出 h<>yzr3fN
#include <iostream.h> //数据流输入/输出 '|yCDBu
#include <limits.h> //定义各种数据类型最值常量 `jr?I {m;
#include <locale.h> //定义本地化函数 )[M:#;,L
#include <math.h> //定义数学函数 h~CLJoK<
#include <stdio.h> //定义输入/输出函数 o[WDPIG
#include <stdlib.h> //定义杂项函数及内存分配函数 #pK"
^O*!
#include <string.h> //字符串处理 KUm?gFh
#include <strstrea.h> //基于数组的输入/输出 4$ihnb`DQN
#include <time.h> //定义关于时间的函数 (dQ=i
#include <wchar.h> //宽字符处理及输入/输出 aHYISjZ]>
#include <wctype.h> //宽字符分类 f{[0;qDJ
#,6T. O
////////////////////////////////////////////////////////////////////////// U~"Y8g#qgy
kQ lwl9
标准 C++ (同上的不再注释) s0D4K
B@6L<oZ
#include <algorithm> //STL 通用算法 v*dw'i
#include <bitset> //STL 位集容器 ~Fwbi
#include <cctype> G-RDQ
#include <cerrno> v3XM-+Z4
#include <clocale> ^[Ka+E^Q
#include <cmath> <Up?w/9
#include <complex> //复数类 %+Z*-iX
#include <cstdio> |Nj6RB7
#include <cstdlib> ez*QP|F*9
#include <cstring> fG$LqzyqlK
#include <ctime> IOuqC.RJ}o
#include <deque> //STL 双端队列容器 Hk h'h"_r
#include <exception> //异常处理类
#C?M-
#include <fstream> E0&d*BI2
#include <functional> //STL 定义运算函数(代替运算符) xY!ud)
#include <limits> PcU~1m1
#include <list> //STL 线性列表容器 ^IIy>
#include <map> //STL 映射容器 Rq[d\BN0.d
#include <iomanip> /"j3B\`?
#include <ios> //基本输入/输出支持 kV5)3%?
#include <iosfwd> //输入/输出系统使用的前置声明 #+AQ:+
#include <iostream> 7dACbqba
#include <istream> //基本输入流 L*A-&9.p3
#include <ostream> //基本输出流 YE{t?Y\5
#include <queue> //STL 队列容器 S**eI<QFSk
#include <set> //STL 集合容器 <EN9s
#include <sstream> //基于字符串的流 {A:uy
#include <stack> //STL 堆栈容器 ,bdjk(
#include <stdexcept> //标准异常类 s:"Sbml
#include <streambuf> //底层输入/输出支持 Cgh84
2%
#include <string> //字符串类 Xw!\,"{s
#include <utility> //STL 通用模板类 )(-;H|]?
#include <vector> //STL 动态数组容器 :Z6j5V;s
#include <cwchar> N~mr@rXC
#include <cwctype> |.UY'B
C=r2fc~w
using namespace std; ZqVbNIY
%|D)%|Z
////////////////////////////////////////////////////////////////////////// H%>4z3n
%sr- xE
C99 增加 uy3<2L#.
yivu|q
#include <complex.h> //复数处理 <c pck
#include <fenv.h> //浮点环境 Ls9NQy
#include <inttypes.h> //整数格式转换 {a:05Y
#include <stdbool.h> //布尔环境 y-1e(:GF
#include <stdint.h> //整型环境 gaY&2
#include <tgmath.h> //通用类型数学宏