C、传统 C++ ed#>q;jX
n;y[%H!g
#include <assert.h> //设定插入点 qJR8fQ
#include <ctype.h> //字符处理 ] ~}~d(
#include <errno.h> //定义错误码 >]2 ^5C;
#include <float.h> //浮点数处理 [~?6jnp
#include <fstream.h> //文件输入/输出 bG+Gg*0p
#include <iomanip.h> //参数化输入/输出 IEWl
I
#include <iostream.h> //数据流输入/输出 LYTnMrM
#include <limits.h> //定义各种数据类型最值常量 }TDq7-(g
#include <locale.h> //定义本地化函数 _B\87e
#include <math.h> //定义数学函数 U\>k>|Jr{
#include <stdio.h> //定义输入/输出函数 ".?y!VY
#include <stdlib.h> //定义杂项函数及内存分配函数 \U'*B}Sz
#include <string.h> //字符串处理
PmT<S,}L
#include <strstrea.h> //基于数组的输入/输出 o%K1!'
#include <time.h> //定义关于时间的函数 pE$*[IvQ'
#include <wchar.h> //宽字符处理及输入/输出 y8]vl;88yY
#include <wctype.h> //宽字符分类 CS0q#?
5'_:>0}
////////////////////////////////////////////////////////////////////////// kqGydGh*"
u3sr"w&
标准 C++ (同上的不再注释) |V^f}5gd
K]&GSro
#include <algorithm> //STL 通用算法 `R*!GHro
#include <bitset> //STL 位集容器 jEK{47i v
#include <cctype> id]}10
#include <cerrno> FV%|*JW[;N
#include <clocale> <f0yh"?6VH
#include <cmath> Z 2lX^z
#include <complex> //复数类 )2r_EO@3HP
#include <cstdio> m*v@L4t(1
#include <cstdlib> VYrs4IFT$
#include <cstring> N8X)/W
#include <ctime> n% s$!R-\
#include <deque> //STL 双端队列容器 2(R{3E4.
#include <exception> //异常处理类 g^^^fKUp )
#include <fstream> b)T6%2
#include <functional> //STL 定义运算函数(代替运算符) ~}Z{hs)
#include <limits> B&}lYo
#include <list> //STL 线性列表容器 x( rl|o
#include <map> //STL 映射容器 51'V[tI;8
#include <iomanip> LtNspFoLb
#include <ios> //基本输入/输出支持 EpENhC0
#include <iosfwd> //输入/输出系统使用的前置声明 vb`:
#include <iostream> /}s#
#include <istream> //基本输入流 $[b1_Db
#include <ostream> //基本输出流 dCzS f4:
#include <queue> //STL 队列容器 D?"Q)kVuD
#include <set> //STL 集合容器 uFaT~ 4
#include <sstream> //基于字符串的流 2gnz=
#include <stack> //STL 堆栈容器 Vb?_RE_H
#include <stdexcept> //标准异常类 0p'g+ 2
#include <streambuf> //底层输入/输出支持 .GFKy
#include <string> //字符串类 wL&[Vi_j{
#include <utility> //STL 通用模板类 :BblH0'
#include <vector> //STL 动态数组容器 M$3/jl*#}
#include <cwchar> fg
GTm:
#include <cwctype> )XYCr<s2"
/1r{z1pv\
using namespace std; l
Ng)k1
iF1zLI<A
////////////////////////////////////////////////////////////////////////// RMAbu*D0
)(yKm/50
C99 增加 z@2nre
<p[RhP
#include <complex.h> //复数处理 :{?Pq8jP
#include <fenv.h> //浮点环境 ,MD>Jx|
#include <inttypes.h> //整数格式转换 YwJ<0;:+hS
#include <stdbool.h> //布尔环境 :oJ!9\5
#include <stdint.h> //整型环境 UQjZhH
#include <tgmath.h> //通用类型数学宏