C、传统 C++ q'T4w!V(V
hOjk3
k
#include <assert.h> //设定插入点 ,Vc6Gwm
#include <ctype.h> //字符处理 M?1Y,5
#include <errno.h> //定义错误码 6]K_m(F
#include <float.h> //浮点数处理 0CnOL!3.I
#include <fstream.h> //文件输入/输出 Ni9/}bb
#include <iomanip.h> //参数化输入/输出 ?WGA?J %2
#include <iostream.h> //数据流输入/输出 V5+=e^pa2
#include <limits.h> //定义各种数据类型最值常量 G#ZH.24Y
#include <locale.h> //定义本地化函数 jys :5P
#include <math.h> //定义数学函数 n\mO6aJ
#include <stdio.h> //定义输入/输出函数 ,0M_Bk"
#include <stdlib.h> //定义杂项函数及内存分配函数 D+TD 95t
#include <string.h> //字符串处理 i1 }:8Unxf
#include <strstrea.h> //基于数组的输入/输出 f z'@_4hg
#include <time.h> //定义关于时间的函数 |mZxfI
#include <wchar.h> //宽字符处理及输入/输出 xG~P+n7t5$
#include <wctype.h> //宽字符分类 .]8ZwAs=&
3#LlDC_WC
////////////////////////////////////////////////////////////////////////// =9H7N]*h
rDdoOb]B
标准 C++ (同上的不再注释) ? >7[7(|
R$R *'l
#include <algorithm> //STL 通用算法 =/@D8{pU
#include <bitset> //STL 位集容器 S,88*F(<^q
#include <cctype> (>LF(ll
#include <cerrno> 1KU!
tL
#include <clocale> #|uCgdi
#include <cmath> U7?;UCmX
#include <complex> //复数类 M[NV)q/)
#include <cstdio> nGC/R&
#include <cstdlib> {a =#B)6
#include <cstring> t*p71U4+I
#include <ctime> [*Z;\5&P
#include <deque> //STL 双端队列容器 &)QX7*H
#include <exception> //异常处理类 D,k6$`
#include <fstream> ))qy;Q,
#include <functional> //STL 定义运算函数(代替运算符) oh4E7yN
#include <limits> [F+}V,
#include <list> //STL 线性列表容器 Pd8![Z3
#include <map> //STL 映射容器 wi!?BCseq
#include <iomanip> y5vvu>nd
#include <ios> //基本输入/输出支持 AzPu)
#include <iosfwd> //输入/输出系统使用的前置声明 N"Z{5A
#include <iostream> pJ>P[
#include <istream> //基本输入流 ez7A4>/
#include <ostream> //基本输出流 aEB_#1
#include <queue> //STL 队列容器 Jx:Y-$
#include <set> //STL 集合容器 Xu{1".\
#include <sstream> //基于字符串的流 &w\{TZ{
#include <stack> //STL 堆栈容器 RTYvS5G
#include <stdexcept> //标准异常类 M*0]ai|;
#include <streambuf> //底层输入/输出支持 :'Vf
g[Uq
#include <string> //字符串类 EAUEQk?9
#include <utility> //STL 通用模板类 h0EEpL|\
#include <vector> //STL 动态数组容器 (&r.w
#include <cwchar> @@f"%2ZR[
#include <cwctype> GblA9F7
8|gIhpO?^
using namespace std; fuW\bo3
6bg
;q(*7
////////////////////////////////////////////////////////////////////////// 7g^]:3f!
aj='b.2)
C99 增加 g>%o #P7
9X6h
#include <complex.h> //复数处理 2Ah#<k-gC;
#include <fenv.h> //浮点环境 +|3@=.V
#include <inttypes.h> //整数格式转换 AI2)g1m
#include <stdbool.h> //布尔环境 \
#F
#include <stdint.h> //整型环境 Z-%\
<zT
#include <tgmath.h> //通用类型数学宏