C、传统 C++ \'Z<P,8~
zP!J/}z
#include <assert.h> //设定插入点 FB:<zmwR
#include <ctype.h> //字符处理 |.P/:e9
#include <errno.h> //定义错误码 LZ U$
#include <float.h> //浮点数处理 V-!"%fO.s
#include <fstream.h> //文件输入/输出 9!U@"~yB
#include <iomanip.h> //参数化输入/输出 5,pSg
#include <iostream.h> //数据流输入/输出 T[?6[,.
#include <limits.h> //定义各种数据类型最值常量 ,RxYd6
#include <locale.h> //定义本地化函数 C+{l7QT$t
#include <math.h> //定义数学函数 R}:KE&tq
#include <stdio.h> //定义输入/输出函数 i)ASsYG!
#include <stdlib.h> //定义杂项函数及内存分配函数 @kFu*"
#include <string.h> //字符串处理 }-@4vl
x$
#include <strstrea.h> //基于数组的输入/输出 ,xI%A,
(,;
#include <time.h> //定义关于时间的函数 HKO739&n}
#include <wchar.h> //宽字符处理及输入/输出 28andfl
#include <wctype.h> //宽字符分类 tMp=-"
}_
mT
l@*
////////////////////////////////////////////////////////////////////////// ILwn&[A0
kJQ#Wz|z]
标准 C++ (同上的不再注释) AVw%w&|%
-e u]:4
#include <algorithm> //STL 通用算法 jJZgK$5+
#include <bitset> //STL 位集容器 lb*8G
#include <cctype> *e#<n_%R
#include <cerrno> up'
#include <clocale> p4K.NdUH
#include <cmath> !T,AdNa8
#include <complex> //复数类 sZ<9A Xk-E
#include <cstdio> hsKmnH@#
#include <cstdlib> v%{.A)
#include <cstring> HO)/dZNU
#include <ctime> 8ho[I]
#include <deque> //STL 双端队列容器 $,>@o=)_
#include <exception> //异常处理类 4*.K'(S5fx
#include <fstream> K+=+?~
#include <functional> //STL 定义运算函数(代替运算符) +>~?m*$
#include <limits> _ee
dBpV
#include <list> //STL 线性列表容器 ;6ecrQMw&
#include <map> //STL 映射容器 {%2v Gn
#include <iomanip> y! .J
#include <ios> //基本输入/输出支持 aVL=K
#include <iosfwd> //输入/输出系统使用的前置声明 )vg5((C
#include <iostream> ?E%ELs_Dl
#include <istream> //基本输入流 [+m?G4[
#include <ostream> //基本输出流 3@Z#.FV~C[
#include <queue> //STL 队列容器 r|e-<t4.9L
#include <set> //STL 集合容器 (+<1*5BEkT
#include <sstream> //基于字符串的流 VQ5nq'{v
#include <stack> //STL 堆栈容器 >odbOi+X
#include <stdexcept> //标准异常类 ~ 9)"!
#include <streambuf> //底层输入/输出支持 Vm}%ttTC
#include <string> //字符串类 $;M:TpX
#include <utility> //STL 通用模板类 +Q=1AXe
#include <vector> //STL 动态数组容器 Z+j\a5d?,
#include <cwchar> 1i:|3PA~
#include <cwctype> 8}X5o]Mv
I+>%uShm
using namespace std; '0y9MXRT
V7G7&'
////////////////////////////////////////////////////////////////////////// =[\s8XH,
mC?i}+4>4R
C99 增加 )[mwP.T=
P&m\1W(
#include <complex.h> //复数处理 *_E|@y
#include <fenv.h> //浮点环境 x8\A<(G_M=
#include <inttypes.h> //整数格式转换 >9RD_QG7
#include <stdbool.h> //布尔环境 2aJS{[
#include <stdint.h> //整型环境 )ZrS{vY
#include <tgmath.h> //通用类型数学宏