C、传统 C++ 9cd 8=][
'# z]M
#include <assert.h> //设定插入点 RH(V^09[o
#include <ctype.h> //字符处理 [;KmT{I9
#include <errno.h> //定义错误码 frN3S
#include <float.h> //浮点数处理 Km3&N
#include <fstream.h> //文件输入/输出 DA"}A`HfI
#include <iomanip.h> //参数化输入/输出 zoP%u,XL
#include <iostream.h> //数据流输入/输出 @Z;1 g
#include <limits.h> //定义各种数据类型最值常量 F
Z!J
#include <locale.h> //定义本地化函数 Y-p<qL|_
#include <math.h> //定义数学函数 \k@Z7+&7
#include <stdio.h> //定义输入/输出函数 dB;3.<S=
#include <stdlib.h> //定义杂项函数及内存分配函数 "&lN\&:
#include <string.h> //字符串处理 xd8
*<,Wj
#include <strstrea.h> //基于数组的输入/输出 )ofm_R'q*
#include <time.h> //定义关于时间的函数 #tjmWGo,
#include <wchar.h> //宽字符处理及输入/输出 *
OsU Y=;
#include <wctype.h> //宽字符分类 o>c^aRZ{
#SkX@sl@
////////////////////////////////////////////////////////////////////////// TfRGA(+#
^Y04qeRd
标准 C++ (同上的不再注释) T&xt`|
MJ\[Dt
#include <algorithm> //STL 通用算法 *8)2iv4[
#include <bitset> //STL 位集容器 W
f@t4(i
#include <cctype> ALGgAX3t
#include <cerrno> d~*TIN8Ke~
#include <clocale> {8@\Ij
#include <cmath> tNnyue{p
#include <complex> //复数类 !e3YnlE
#include <cstdio> Q_zr\RM>
#include <cstdlib> x*}bo))hb
#include <cstring> }!)F9r@\
#include <ctime> 0JY WrPR
#include <deque> //STL 双端队列容器 [VSU"AJY
#include <exception> //异常处理类 fSA)G$b]
#include <fstream> &~-~5B|3"
#include <functional> //STL 定义运算函数(代替运算符) 1S$h<RIPAc
#include <limits> 2cf' ,cv@8
#include <list> //STL 线性列表容器 !gP0ndRJ=
#include <map> //STL 映射容器 Yck~xt&]
#include <iomanip> q\$6F)ha3
#include <ios> //基本输入/输出支持 9z ?7{2C
#include <iosfwd> //输入/输出系统使用的前置声明 K:5eek
#include <iostream> *P2[qhP2
#include <istream> //基本输入流 |n6Eg9
#include <ostream> //基本输出流 x&=9P e(
#include <queue> //STL 队列容器 A0xC,V~z
#include <set> //STL 集合容器 N.j
"S'(i
#include <sstream> //基于字符串的流 ^Jx$t/t
#include <stack> //STL 堆栈容器 XnUO*v^]
#include <stdexcept> //标准异常类 `v nJ4*
#include <streambuf> //底层输入/输出支持 ~]uZy=P? 5
#include <string> //字符串类 D>sYPrf
#include <utility> //STL 通用模板类 A^Cj1:,
#include <vector> //STL 动态数组容器 AQ{zx1^2>K
#include <cwchar> l@~LV}BI
#include <cwctype> 3HiFISA*
YQ(Po!NI\'
using namespace std; 2t1I3yA'{z
`/Y+1 aD
////////////////////////////////////////////////////////////////////////// q'S
=Eav8
Bw<rp-
C99 增加 Z1,gtl ?
Hs0pW5oZ
#include <complex.h> //复数处理 >q7
%UK]&
#include <fenv.h> //浮点环境 68t}w^=
#include <inttypes.h> //整数格式转换 gPEqjj
#include <stdbool.h> //布尔环境 y,m2(V
#include <stdint.h> //整型环境 H{fM%*w
#include <tgmath.h> //通用类型数学宏