C、传统 C++ &:f'{>3z
YgOgYo{E!
#include <assert.h> //设定插入点 WvzvGT=
#include <ctype.h> //字符处理 5d{Ggg{s
#include <errno.h> //定义错误码 pcTXTy 28
#include <float.h> //浮点数处理 k#NMD4(%O
#include <fstream.h> //文件输入/输出 cD@lorj
#include <iomanip.h> //参数化输入/输出 Y8'_5?+ 0
#include <iostream.h> //数据流输入/输出 QjN3j*@
#include <limits.h> //定义各种数据类型最值常量 {&qsh9ob
#include <locale.h> //定义本地化函数 N%E2BJ?
#include <math.h> //定义数学函数 G*p.JsZP
#include <stdio.h> //定义输入/输出函数 O|zmDp8a+
#include <stdlib.h> //定义杂项函数及内存分配函数 ?ML<o>OKg
#include <string.h> //字符串处理 ,k' 6<Hw
#include <strstrea.h> //基于数组的输入/输出 ms<u YLp
#include <time.h> //定义关于时间的函数 zGz'2,o3
#include <wchar.h> //宽字符处理及输入/输出 xm,yqM!0A
#include <wctype.h> //宽字符分类 :?6$}GcW
v+o3r]Y6
////////////////////////////////////////////////////////////////////////// bJ!f,a'/
grAL4
标准 C++ (同上的不再注释) r74w[6(
s(Bi&C\
#include <algorithm> //STL 通用算法 0MGK3o)
#include <bitset> //STL 位集容器 [z@RgDXv
#include <cctype> .h^Ld,Chj
#include <cerrno> IVODR
#include <clocale> Cs=i9.-A
#include <cmath> =C1Qo#QQ%
#include <complex> //复数类 jN>UW}?
#include <cstdio> Y,}43a0A
#include <cstdlib> e;r-}U
#include <cstring> D|3QLG
#include <ctime> 3-%~{(T/
#include <deque> //STL 双端队列容器 ui0(#2'h%
#include <exception> //异常处理类 @5GP;3T
#include <fstream> \ jdO,-(
#include <functional> //STL 定义运算函数(代替运算符) 4tNgK[6M
#include <limits> cty#@?"e
#include <list> //STL 线性列表容器 g]JI}O*5
#include <map> //STL 映射容器 {\Y,UANZ
#include <iomanip> B#n}y
#include <ios> //基本输入/输出支持 #wuE30d
#include <iosfwd> //输入/输出系统使用的前置声明 ` &7?+s
#include <iostream> ]r5Xp#q2
#include <istream> //基本输入流 wk/U"@lq
#include <ostream> //基本输出流 Q[tz)99~
#include <queue> //STL 队列容器 :u93yH6~8
#include <set> //STL 集合容器 0LuY"(LR
#include <sstream> //基于字符串的流 &`W,'qD$
#include <stack> //STL 堆栈容器 F$p,xFH#
#include <stdexcept> //标准异常类 }gaKO 5
#include <streambuf> //底层输入/输出支持 a
:AcCd)
#include <string> //字符串类 -ouL4
#include <utility> //STL 通用模板类 o%Q2.
#include <vector> //STL 动态数组容器 Ll48)P{+}V
#include <cwchar> ~3]8f0^%m
#include <cwctype> [T|1 Qq7
B%;+8]
using namespace std; Yr0i9Qow
I65GUX#DV
////////////////////////////////////////////////////////////////////////// H8k| >4
.W:], 5e
C99 增加 <rxem(PPu
1H@F>}DP
#include <complex.h> //复数处理 $R36`wk
#include <fenv.h> //浮点环境 `o'sp9_3
#include <inttypes.h> //整数格式转换 ;%9ZL[-
#include <stdbool.h> //布尔环境 [/]3:|
#include <stdint.h> //整型环境 wj~8KHan
#include <tgmath.h> //通用类型数学宏