C、传统 C++ (%6(5,
g'KzdG`O0
#include <assert.h> //设定插入点 W)|c[Q\
#include <ctype.h> //字符处理 Z+r%_|kZ
#include <errno.h> //定义错误码 mVa?aWpez
#include <float.h> //浮点数处理 _yiRh:
#include <fstream.h> //文件输入/输出 nt drXg
#include <iomanip.h> //参数化输入/输出 ,tcP=fdk]
#include <iostream.h> //数据流输入/输出 "3\oQvi.
#include <limits.h> //定义各种数据类型最值常量 j.<:00<
#include <locale.h> //定义本地化函数 MRjH40"2
#include <math.h> //定义数学函数 +{5JDyh0
#include <stdio.h> //定义输入/输出函数 A*rZQh
b[
#include <stdlib.h> //定义杂项函数及内存分配函数 -)4uYK*
#include <string.h> //字符串处理 IO^:FnJJv
#include <strstrea.h> //基于数组的输入/输出 ~g*Y,
Y
#include <time.h> //定义关于时间的函数 hyJ
ded&D
#include <wchar.h> //宽字符处理及输入/输出 79TPg
#include <wctype.h> //宽字符分类 '$n:CNha
wTB)v !
////////////////////////////////////////////////////////////////////////// a3Z:C!|O'
mYiSR
标准 C++ (同上的不再注释) f#'8"ff*1
|sA4:Aq
#include <algorithm> //STL 通用算法 UCe,2v%
#include <bitset> //STL 位集容器 67}]s@:l](
#include <cctype> zv$Gma_
#include <cerrno> wEBtre7
#include <clocale> zt-'SY
#include <cmath> 7fap*
#include <complex> //复数类 c9\B[@-q
#include <cstdio> V xp$#3 ;S
#include <cstdlib> O|HIO&M
#include <cstring> $7msL#E7
#include <ctime> XC*uz
#include <deque> //STL 双端队列容器 l. XknF
#include <exception> //异常处理类 17WNJ
#include <fstream> ;3 G~["DA
#include <functional> //STL 定义运算函数(代替运算符) Y8D7<V~Md
#include <limits> p.@0=)
#include <list> //STL 线性列表容器 uo]Hi^r.l
#include <map> //STL 映射容器 nu;}S!J
#include <iomanip> 30A`\+^f
#include <ios> //基本输入/输出支持 kyy0&L
#include <iosfwd> //输入/输出系统使用的前置声明 QpdujtH`
#include <iostream> CWE Ejl
#include <istream> //基本输入流 6W)xj6<@
#include <ostream> //基本输出流 *eHA:
A_I
#include <queue> //STL 队列容器 %T`4!:vy
#include <set> //STL 集合容器 q:TZ=bs^
#include <sstream> //基于字符串的流 fn1 ?Qp|
#include <stack> //STL 堆栈容器 JVD@I{
#include <stdexcept> //标准异常类
jz|Wj
#include <streambuf> //底层输入/输出支持 ybD{4&ZE
#include <string> //字符串类 (! xg$Kz@
#include <utility> //STL 通用模板类 )$ ofl%+
#include <vector> //STL 动态数组容器 66I|0_
#include <cwchar> >&$ $(Bp
#include <cwctype> mgJShn8]
aeG#:
Ln+{
using namespace std; ML=hKwCA
di-O*ug
////////////////////////////////////////////////////////////////////////// e*Uz#w:
l84h%,
C99 增加 eNIkiJ$uS
BengRG[
#include <complex.h> //复数处理 u3Zzu \{
#include <fenv.h> //浮点环境 n%83jep9
#include <inttypes.h> //整数格式转换 E\{^0vNc
#include <stdbool.h> //布尔环境 xDPQG`6
#include <stdint.h> //整型环境 wm); aWP
#include <tgmath.h> //通用类型数学宏