C、传统 C++ _Ym]Mj' ln
0$(WlP|
#include <assert.h> //设定插入点 \/93Dz
#include <ctype.h> //字符处理 0^v`T%|fTX
#include <errno.h> //定义错误码 KsddA
#include <float.h> //浮点数处理 'Y?"{HZ
#include <fstream.h> //文件输入/输出 x/%aM1"X^
#include <iomanip.h> //参数化输入/输出 1]d!~
#include <iostream.h> //数据流输入/输出 ru'F6?d
#include <limits.h> //定义各种数据类型最值常量 9-sw!tKx
#include <locale.h> //定义本地化函数 gx-2v|pZ
#include <math.h> //定义数学函数 vXev$x=w-
#include <stdio.h> //定义输入/输出函数 DMs,y{v
#include <stdlib.h> //定义杂项函数及内存分配函数 b
k~(^!R
#include <string.h> //字符串处理 Oylf<&knF\
#include <strstrea.h> //基于数组的输入/输出 %9
SJ
E
#include <time.h> //定义关于时间的函数 #9=Vg
#include <wchar.h> //宽字符处理及输入/输出 '%>=ZhO
#include <wctype.h> //宽字符分类 W4t;{b
E}%B;"b/Tj
////////////////////////////////////////////////////////////////////////// {Je[ZQ$
?)/#+[xa
标准 C++ (同上的不再注释) gBd]B03
*tGY6=7O
#include <algorithm> //STL 通用算法
52Yq
#include <bitset> //STL 位集容器 :Oy%a'w
#include <cctype> f<-Jg
#include <cerrno> pLl(iNf]
#include <clocale> s'3
s^Dd
#include <cmath> We)xB
#include <complex> //复数类 oph}5Krd)
#include <cstdio> ;^+\K-O]c
#include <cstdlib> .7^c@i[
#include <cstring> '"`IC\N^
#include <ctime> R1PkTZP&
#include <deque> //STL 双端队列容器 dLH(D: `
#include <exception> //异常处理类 Upx G@b
#include <fstream> .Q<>-3\K
#include <functional> //STL 定义运算函数(代替运算符) "x%Htq@
#include <limits> nz%DM<0$
#include <list> //STL 线性列表容器 %J#YM'g
#include <map> //STL 映射容器 G3C~x.(f
#include <iomanip> zlyS}x@p
#include <ios> //基本输入/输出支持
3Nl <p"=
#include <iosfwd> //输入/输出系统使用的前置声明 p$O.>
[
#include <iostream> 3N8t`N
#include <istream> //基本输入流 "WlZ)wyF%
#include <ostream> //基本输出流 6d:zb;Iz
#include <queue> //STL 队列容器 <<UB ^v m
#include <set> //STL 集合容器 6o^,@~:R
#include <sstream> //基于字符串的流 AWcLUe {
#include <stack> //STL 堆栈容器 5sdn[Tt##
#include <stdexcept> //标准异常类 4"GR]
X
#include <streambuf> //底层输入/输出支持 X3(tuqmi
#include <string> //字符串类 a,Sw4yJ!Q
#include <utility> //STL 通用模板类 ky8_UnaO
#include <vector> //STL 动态数组容器 *F WMn.
#include <cwchar> [m+2(I1
#include <cwctype> iyN:%ofh
02Y]`CXj
using namespace std; ~Cbc<[}
AJt+p&I[J
////////////////////////////////////////////////////////////////////////// `K*Q5n
w?3p';C
C99 增加 PYiU_
md=TjMaY
#include <complex.h> //复数处理 JELTo u
#include <fenv.h> //浮点环境 \$R_YKGf1G
#include <inttypes.h> //整数格式转换 IO wj>t
#include <stdbool.h> //布尔环境 o\BOL3H
#include <stdint.h> //整型环境 7Sf
bx~48
#include <tgmath.h> //通用类型数学宏