C、传统 C++ 76H>ST@G|
VWq]w5oQO
#include <assert.h> //设定插入点 )Zf1%h~0r
#include <ctype.h> //字符处理 0vX4v)-^u
#include <errno.h> //定义错误码 xt_:R~/[
#include <float.h> //浮点数处理 {Y-~7@
#include <fstream.h> //文件输入/输出 0FSN IPx
#include <iomanip.h> //参数化输入/输出 "i#aII+T
#include <iostream.h> //数据流输入/输出 Jvc:)I1NE7
#include <limits.h> //定义各种数据类型最值常量 bTU[E
#include <locale.h> //定义本地化函数 <Pzy'9
#include <math.h> //定义数学函数 Lq|>n[KY
#include <stdio.h> //定义输入/输出函数 J3 `0i@
#include <stdlib.h> //定义杂项函数及内存分配函数 ijsoY\V50
#include <string.h> //字符串处理 p8Z?R^$9H
#include <strstrea.h> //基于数组的输入/输出 |Dt_lQp#
#include <time.h> //定义关于时间的函数 sYjhQN=Y*
#include <wchar.h> //宽字符处理及输入/输出 jr,N+K(@T
#include <wctype.h> //宽字符分类 jc!m; U t
'2GnA ws^
////////////////////////////////////////////////////////////////////////// nv0\On7wd
/~MH]Gh
标准 C++ (同上的不再注释) o^XDG^35`
SQ_Je+X
#include <algorithm> //STL 通用算法 KL9k9|!p
#include <bitset> //STL 位集容器 fIl;qGz85
#include <cctype> WQ{[q" O
#include <cerrno> wA\5-C7j
#include <clocale> z/u^
#include <cmath> {`QA.he.
#include <complex> //复数类 W1 k]P.
#include <cstdio> )adV`V%=>
#include <cstdlib> q`,%L1c4
#include <cstring> [Ur\^wS
#include <ctime> Y{D%v
#include <deque> //STL 双端队列容器 x-"8V(
#include <exception> //异常处理类 Z:dp/M}
#include <fstream> P #O2MiG
#include <functional> //STL 定义运算函数(代替运算符) S=(<m%f
#include <limits> Y=p!xr>
#include <list> //STL 线性列表容器 h);^4cU
#include <map> //STL 映射容器 DmpT<SI+!
#include <iomanip> H1I^Vij
#include <ios> //基本输入/输出支持 y~fKLIoz"
#include <iosfwd> //输入/输出系统使用的前置声明 Wl |5EY
#include <iostream> As< B8e]
#include <istream> //基本输入流 +x(#e'6p
#include <ostream> //基本输出流 p}^5ru
#include <queue> //STL 队列容器 RFMPh<Ac
#include <set> //STL 集合容器 =e4 r=I
#include <sstream> //基于字符串的流 |~r-VV(=
#include <stack> //STL 堆栈容器 T5
(|{-
#include <stdexcept> //标准异常类 tLBtE!J$[
#include <streambuf> //底层输入/输出支持 =A.$~9P
#include <string> //字符串类 Y8zTw`:V
#include <utility> //STL 通用模板类 #0>xa]S
#include <vector> //STL 动态数组容器 MC* Hl`C
#include <cwchar> ^cm]
[9
#include <cwctype> g:>'+(H ;
T9C_=0(hn
using namespace std; `PC9t)%.pV
F}5d>nw
////////////////////////////////////////////////////////////////////////// 6Q^~O*cw
V&w2pp0
C99 增加 7~ PL8
2 %dL96
#include <complex.h> //复数处理 &}r"Z?f)
#include <fenv.h> //浮点环境 fes s6=k
#include <inttypes.h> //整数格式转换 .qgUD
#include <stdbool.h> //布尔环境 j-":>}oW2.
#include <stdint.h> //整型环境 yd).}@
#include <tgmath.h> //通用类型数学宏