C、传统 C++ "xHK*
iC^G^ ~V+H
#include <assert.h> //设定插入点 YGs'[On8
#include <ctype.h> //字符处理 %6^nb'l'C
#include <errno.h> //定义错误码 Qb%;
|li
#include <float.h> //浮点数处理 2Q@Jp`#,4
#include <fstream.h> //文件输入/输出 Vm8dX?
#include <iomanip.h> //参数化输入/输出 "oFi+']*
#include <iostream.h> //数据流输入/输出 y;4g>ma0
#include <limits.h> //定义各种数据类型最值常量 3
Fy CD4#
#include <locale.h> //定义本地化函数 H.C*IL9
#include <math.h> //定义数学函数 ]q[(z
#include <stdio.h> //定义输入/输出函数 gW4fwE^
#include <stdlib.h> //定义杂项函数及内存分配函数 nhC8Tq[m
#include <string.h> //字符串处理 4}cxSl]jf!
#include <strstrea.h> //基于数组的输入/输出 E4Ez)IaKyi
#include <time.h> //定义关于时间的函数 |;t{L^
#include <wchar.h> //宽字符处理及输入/输出 t0v>J9
#include <wctype.h> //宽字符分类 7r)]9_[(
!O}e)t
////////////////////////////////////////////////////////////////////////// 9%3+\[s1
Ie=gI+2
标准 C++ (同上的不再注释) K"5q387!
61&{I>~1
#include <algorithm> //STL 通用算法 YRf$?xa
#include <bitset> //STL 位集容器 +oO7UWs>6
#include <cctype> $]}K ;
#include <cerrno> F^%\AA]8
#include <clocale> Fv$w:r]q6
#include <cmath> 6GVAR
#include <complex> //复数类 @2d9
7.X
#include <cstdio> M.Tp)ig\#
#include <cstdlib> 9mv0} I
#include <cstring> %{cVG-<_iz
#include <ctime> :V#xrH8R
#include <deque> //STL 双端队列容器 omy3<6
#include <exception> //异常处理类 iyr8*L\
#include <fstream> tX1`/}``
#include <functional> //STL 定义运算函数(代替运算符) )\2KDXc
#include <limits> /38I(0
#include <list> //STL 线性列表容器 77aUuP7Iw
#include <map> //STL 映射容器 FV
aC8Kw
#include <iomanip> z[R
dM#L
#include <ios> //基本输入/输出支持 'NfsAE
#include <iosfwd> //输入/输出系统使用的前置声明 6-/W4L)?>
#include <iostream> qvGmJN0
#include <istream> //基本输入流 "cly99t
#include <ostream> //基本输出流 ZF#n(Y?
#include <queue> //STL 队列容器 'Z9UqEGV
#include <set> //STL 集合容器 a MFUj+^
#include <sstream> //基于字符串的流 n
c~JAT#'
#include <stack> //STL 堆栈容器 :AqtPV'
#include <stdexcept> //标准异常类 DrAIQ7Jd
#include <streambuf> //底层输入/输出支持 a j
.7t=^
#include <string> //字符串类 )1@%!fr
#include <utility> //STL 通用模板类 ,D(Bg9C
#include <vector> //STL 动态数组容器 Lyn{Uag
#include <cwchar> n<> ^cD
#include <cwctype> #DJZ42
T<Qa`|5>
using namespace std; v''J@ F7
/0|1xHs
////////////////////////////////////////////////////////////////////////// \ISg6v{/
Le bc@,
C99 增加 r)Zk- !1
`/N={
#include <complex.h> //复数处理 t:P]bp^#
#include <fenv.h> //浮点环境 .H qJ)OH
#include <inttypes.h> //整数格式转换 <ME>#,
#include <stdbool.h> //布尔环境 &sBD0R(a
#include <stdint.h> //整型环境 ?2,D-3 {
#include <tgmath.h> //通用类型数学宏