C、传统 C++ +(h{3Y|
fD%20P`.
#include <assert.h> //设定插入点 V2$M`|E
#include <ctype.h> //字符处理 x}#N?d
#include <errno.h> //定义错误码 2g;Id.i>
#include <float.h> //浮点数处理 |?ZNGPt
#include <fstream.h> //文件输入/输出 TpxAp',#7
#include <iomanip.h> //参数化输入/输出 CM)V^k*
#include <iostream.h> //数据流输入/输出 a?*pO`<J{
#include <limits.h> //定义各种数据类型最值常量 ;dTxQ_:
#include <locale.h> //定义本地化函数 i_av_I-
#include <math.h> //定义数学函数 =0SJf 3
#include <stdio.h> //定义输入/输出函数 Nf}i/
#include <stdlib.h> //定义杂项函数及内存分配函数 ]N:Wt2
#include <string.h> //字符串处理 pMoza8
#include <strstrea.h> //基于数组的输入/输出 dEam|
#include <time.h> //定义关于时间的函数 d"thM
#include <wchar.h> //宽字符处理及输入/输出 $}=r45e0K
#include <wctype.h> //宽字符分类 lz_ r
l/A!ofc#)
////////////////////////////////////////////////////////////////////////// Wl]XOUZ
$ SZIJe"K
标准 C++ (同上的不再注释) zO0K*s.yK
DH:9iX '
#include <algorithm> //STL 通用算法 tMyMA}`
#include <bitset> //STL 位集容器 :bXTV?#0
#include <cctype> XY<KLO%
#include <cerrno> @@=,bO
#include <clocale> GK#D R/OM
#include <cmath> ,Qj\_vr@
#include <complex> //复数类 7?\r9bD
#include <cstdio> "+hUt
#include <cstdlib> SBY0L.
#include <cstring> uxL3 8d]
#include <ctime> Uh'W d_?
#include <deque> //STL 双端队列容器 4G RHvA.
#include <exception> //异常处理类
!$<Kp6
#include <fstream> P=X)Ktmv
#include <functional> //STL 定义运算函数(代替运算符) c*R18,5-
#include <limits> [~?6jnp
#include <list> //STL 线性列表容器 &LQfs4}a,
#include <map> //STL 映射容器 JvS
~.g1
#include <iomanip> ,<[x9 "3\
#include <ios> //基本输入/输出支持 1;v wreJ
#include <iosfwd> //输入/输出系统使用的前置声明 *=77|Dba
#include <iostream> pE$*[IvQ'
#include <istream> //基本输入流 wd1>L) T
#include <ostream> //基本输出流 m~F ~9&
#include <queue> //STL 队列容器 M`xI N~
#include <set> //STL 集合容器 `R*!GHro
#include <sstream> //基于字符串的流 Ad4-aWH
#include <stack> //STL 堆栈容器 5xa!L@)`wF
#include <stdexcept> //标准异常类 =q[ynZ8O\w
#include <streambuf> //底层输入/输出支持 E cd~H+
#include <string> //字符串类 eGo$F2C6E
#include <utility> //STL 通用模板类 ?yA
2N;
#include <vector> //STL 动态数组容器 b)T6%2
#include <cwchar> \p )eY#A
#include <cwctype> Htep3Ol3
5e2yJ R
using namespace std; SA
[(1dy;
FQcm= d_s
////////////////////////////////////////////////////////////////////////// .C1g Dry]
jjg&C9w T
C99 增加 KC54=Rf
lNvxt6@s
#include <complex.h> //复数处理 'f6!a5qC
#include <fenv.h> //浮点环境 A \Z _br
#include <inttypes.h> //整数格式转换 _;-b ZH
#include <stdbool.h> //布尔环境 q4Y'yp`?K;
#include <stdint.h> //整型环境 UO-,A j*wW
#include <tgmath.h> //通用类型数学宏