C、传统 C++ RoHX0
6$PQ$
#include <assert.h> //设定插入点 $Rze[3
#include <ctype.h> //字符处理 b/.EA'/
#include <errno.h> //定义错误码 =Cf@!wZ^
#include <float.h> //浮点数处理
XU"G
#include <fstream.h> //文件输入/输出 Wx/PD=Sf&
#include <iomanip.h> //参数化输入/输出 *9KT@"v
#include <iostream.h> //数据流输入/输出 g#{7qmM
#include <limits.h> //定义各种数据类型最值常量 $n8&5<
#include <locale.h> //定义本地化函数 /FXb,)1t
#include <math.h> //定义数学函数 1 h(n}u
#include <stdio.h> //定义输入/输出函数 ;(E]mbV'=
#include <stdlib.h> //定义杂项函数及内存分配函数 1|
WDbk
#include <string.h> //字符串处理 MIr[_
#include <strstrea.h> //基于数组的输入/输出 Xl$r720ZJr
#include <time.h> //定义关于时间的函数 9_*3xu<7i
#include <wchar.h> //宽字符处理及输入/输出 ~]%re9jGW
#include <wctype.h> //宽字符分类 rr1,Ijh{D
F'<XB~&o
////////////////////////////////////////////////////////////////////////// :[?7,/w
D@w&[IF
标准 C++ (同上的不再注释) p&(z'd
mtFC H
#include <algorithm> //STL 通用算法 meB9:w[m
#include <bitset> //STL 位集容器 #?M[Q:
#include <cctype> p/ZgzHyF
#include <cerrno> sn[<Lq
#include <clocale> Q Wm
g#2 '
#include <cmath> Or/YEt}
#include <complex> //复数类 aAu%QRq
#include <cstdio> r^s$U,e#~
#include <cstdlib> iU{\a,
#include <cstring> jbOwpyH
#include <ctime> V:D?i#%,z
#include <deque> //STL 双端队列容器 aQWg?,Ju6
#include <exception> //异常处理类 5#_GuL%
#include <fstream> V+'zuX
#include <functional> //STL 定义运算函数(代替运算符) R,!aX"]|
#include <limits> Ey&A\
#include <list> //STL 线性列表容器 gvjy'Rm
#include <map> //STL 映射容器 >0N$R|B&
#include <iomanip> (F R
#include <ios> //基本输入/输出支持 K#v @bu:'
#include <iosfwd> //输入/输出系统使用的前置声明 sN[<{;K4
#include <iostream> hsws7sH
#include <istream> //基本输入流 Ov:U3P?%
#include <ostream> //基本输出流 tPJU,e)
#include <queue> //STL 队列容器 w&^Dbme
#include <set> //STL 集合容器 U&+lw=
#include <sstream> //基于字符串的流 FGMYpapc~
#include <stack> //STL 堆栈容器
#s=\
#include <stdexcept> //标准异常类 wXeJjE%j:3
#include <streambuf> //底层输入/输出支持 =6'D/| 3
#include <string> //字符串类 $xcU*?=K
#include <utility> //STL 通用模板类 O[}2
#include <vector> //STL 动态数组容器 >\Iy <M
#include <cwchar> Em<J{`k6
#include <cwctype> 5n2}|V$VqP
a,t]> z95
using namespace std; t(^Lh.<a
QUdF`_U7
////////////////////////////////////////////////////////////////////////// _rUsb4r
AdF[>Wv
C99 增加 I}
]s(
oM}P Wf-
#include <complex.h> //复数处理 / vzwokH
#include <fenv.h> //浮点环境 rYyEs
I#qo
#include <inttypes.h> //整数格式转换 g3w-Le&T
#include <stdbool.h> //布尔环境 s\
]Rgi>w
#include <stdint.h> //整型环境 _l]rt
#include <tgmath.h> //通用类型数学宏