C、传统 C++ I3D8xl>P\
l.?R7f
#include <assert.h> //设定插入点 Qi#%&Jz>f
#include <ctype.h> //字符处理 Z16G
#include <errno.h> //定义错误码 WaQCq0Enj
#include <float.h> //浮点数处理 s!``OyI/Z
#include <fstream.h> //文件输入/输出 b&B<'Wb
#include <iomanip.h> //参数化输入/输出 SY_T\
}
#include <iostream.h> //数据流输入/输出 jm'(t=Ze
#include <limits.h> //定义各种数据类型最值常量 gd-4hR
#include <locale.h> //定义本地化函数 /Ws@YP
#include <math.h> //定义数学函数 *;8tj5du
#include <stdio.h> //定义输入/输出函数 &96I4su
#include <stdlib.h> //定义杂项函数及内存分配函数 ^wCjMi(sj
#include <string.h> //字符串处理 PmO utYV
#include <strstrea.h> //基于数组的输入/输出 MRiQaUg2
#include <time.h> //定义关于时间的函数 W`K XO|'p@
#include <wchar.h> //宽字符处理及输入/输出 xxgS!J
#include <wctype.h> //宽字符分类 ` ZXX[&C
(Kd;l&8
////////////////////////////////////////////////////////////////////////// F`3c uL[N
dX: (%_Mn
标准 C++ (同上的不再注释) at${^,&
f@Rn&&-
#include <algorithm> //STL 通用算法 :f?\ mVS+
#include <bitset> //STL 位集容器 0:R}
#include <cctype> .@ZqCH
#include <cerrno> h #Od tc1)
#include <clocale> y.26:c(
#include <cmath> =O1N*'e
#include <complex> //复数类 6]rIYc[,
#include <cstdio> k!b\qS~Q
#include <cstdlib> e'mm4 2
#include <cstring> !
R?r)G5E
#include <ctime> snOd
3Bw
#include <deque> //STL 双端队列容器 v-J*PB.0p
#include <exception> //异常处理类 9%j_"+<c
#include <fstream> W)ihk\E
#include <functional> //STL 定义运算函数(代替运算符) 8i=J(5=
#include <limits> 2ixg
ix
#include <list> //STL 线性列表容器 }BS.OK?
#include <map> //STL 映射容器 :XEP:8
#include <iomanip> t&^9o$
#include <ios> //基本输入/输出支持 ]tL9 y<
#include <iosfwd> //输入/输出系统使用的前置声明 X"YH49?
#include <iostream> R:P'QM
#include <istream> //基本输入流 Wc ]BQn
#include <ostream> //基本输出流 |Xk'd@<
#include <queue> //STL 队列容器 _>%P};G{>
#include <set> //STL 集合容器 2i*-ET
#include <sstream> //基于字符串的流 @*e|{;X]hy
#include <stack> //STL 堆栈容器 S)of.Nq.;
#include <stdexcept> //标准异常类 3t5`,R1@t
#include <streambuf> //底层输入/输出支持 E8zga )
#include <string> //字符串类 /UTeaM!?"
#include <utility> //STL 通用模板类 ;3OQgKI
#include <vector> //STL 动态数组容器 kB{
#include <cwchar> o8.KakrPP
#include <cwctype> 0m$f9b|Q?
I3]-$
using namespace std; ?*|AcMw5
im|(
4f
////////////////////////////////////////////////////////////////////////// #\[h.4i
z$$ E7i
C99 增加 >Lx,<sE
q 9lz
#include <complex.h> //复数处理 KSnU;B6w>
#include <fenv.h> //浮点环境 J^8(h R
#include <inttypes.h> //整数格式转换 :0x,%V74_!
#include <stdbool.h> //布尔环境 e3,TY.,Ay
#include <stdint.h> //整型环境 -U~]Bugvh
#include <tgmath.h> //通用类型数学宏