C、传统 C++ wy#>Aq
*Egg*2P;"Q
#include <assert.h> //设定插入点 eq(h{*rC
#include <ctype.h> //字符处理 1"75+Q>D
#include <errno.h> //定义错误码 v}a{nU'
#include <float.h> //浮点数处理 ~:o$}`mW
#include <fstream.h> //文件输入/输出 g,!.`[e'ex
#include <iomanip.h> //参数化输入/输出 H.E=m0np
#include <iostream.h> //数据流输入/输出 dE_"|,:
#include <limits.h> //定义各种数据类型最值常量 C.ji]P#
#include <locale.h> //定义本地化函数 ge.>#1f}
#include <math.h> //定义数学函数 KK2YT/K$SG
#include <stdio.h> //定义输入/输出函数 !4=_l6kg~+
#include <stdlib.h> //定义杂项函数及内存分配函数 ~;H,cPvrEg
#include <string.h> //字符串处理 9d-'%Q>+
#include <strstrea.h> //基于数组的输入/输出 3S]QIZ1
#include <time.h> //定义关于时间的函数 =_z o
#include <wchar.h> //宽字符处理及输入/输出 p9u*l
#include <wctype.h> //宽字符分类 A%HIfSzQBS
/|P{t{^WM
////////////////////////////////////////////////////////////////////////// k'H[aYMA
%;v~MC@
标准 C++ (同上的不再注释) l9="ccM
*AQ3RA 8
#include <algorithm> //STL 通用算法 #k|f>D4
#include <bitset> //STL 位集容器 @6tczU}ak
#include <cctype> adIrrK
#include <cerrno> 6SH0
y
#include <clocale> 5 QuRwu_
#include <cmath> f$kbb6juL
#include <complex> //复数类 G'#u!<(^h
#include <cstdio> fRLA;1va
#include <cstdlib> +hr|$
#include <cstring> l!Xj UnRF
#include <ctime> Ky,upU
#include <deque> //STL 双端队列容器 `PL}8ydZ
#include <exception> //异常处理类 ng9e)lU~*b
#include <fstream> ]=%qm;
#include <functional> //STL 定义运算函数(代替运算符) l&U$LN$*e
#include <limits> 8b~
#include <list> //STL 线性列表容器 SO(BkxV@
#include <map> //STL 映射容器 yq[/9Pci A
#include <iomanip> 4:NMZ `~
#include <ios> //基本输入/输出支持 ^Cp2#d*
#include <iosfwd> //输入/输出系统使用的前置声明 }u3|w0~c)
#include <iostream> Xb>SA|6[|
#include <istream> //基本输入流 fxoEK}TM
#include <ostream> //基本输出流 0E!-G= v
#include <queue> //STL 队列容器 h8 N|m0W
#include <set> //STL 集合容器 [~
2m*Q
#include <sstream> //基于字符串的流 :??W3ROn
#include <stack> //STL 堆栈容器 #&?ER]|3
#include <stdexcept> //标准异常类 -d#08\
#include <streambuf> //底层输入/输出支持 [r8[lkR
#include <string> //字符串类 7<MEM NYX
#include <utility> //STL 通用模板类 d94k
#include <vector> //STL 动态数组容器 D:bmq93PC
#include <cwchar> gDLS)4^w
#include <cwctype> EJTM
>Rpor
4c 8{AZ
using namespace std; W}TP(~x'N
(?R!y -
////////////////////////////////////////////////////////////////////////// Uoe;=P@
cl`Wl/Q#
C99 增加 d]O:VghY\
v+ in:\Dv
#include <complex.h> //复数处理 gMF6f%
#include <fenv.h> //浮点环境 7:pc%Ksq
#include <inttypes.h> //整数格式转换 ;5[OS8
#include <stdbool.h> //布尔环境 F%o!+%&7
#include <stdint.h> //整型环境 |TMn
#include <tgmath.h> //通用类型数学宏