C、传统 C++ EL{vFP
L}k/9F.5
#include <assert.h> //设定插入点 F-gE<<
#include <ctype.h> //字符处理 =;L*<I
#include <errno.h> //定义错误码 uGP(R=H
#include <float.h> //浮点数处理 _aS;!6b8W
#include <fstream.h> //文件输入/输出 zJN7<sv
#include <iomanip.h> //参数化输入/输出 BlC<`2S
#include <iostream.h> //数据流输入/输出 KY9n2u&4
#include <limits.h> //定义各种数据类型最值常量 =:I+6PlF@
#include <locale.h> //定义本地化函数 , H
kj1x
#include <math.h> //定义数学函数 AC- )BM';
#include <stdio.h> //定义输入/输出函数 ]0j9>s2|Z
#include <stdlib.h> //定义杂项函数及内存分配函数 Z;DCI-Wg
#include <string.h> //字符串处理 [k%4eO2p "
#include <strstrea.h> //基于数组的输入/输出 4=<*Vd`p
#include <time.h> //定义关于时间的函数 [.,>wo~
#include <wchar.h> //宽字符处理及输入/输出 jLVl4h&
#include <wctype.h> //宽字符分类 W;_E 4
l.=p8-/$'7
////////////////////////////////////////////////////////////////////////// g=8un`]7
!q"cpL'4
标准 C++ (同上的不再注释) uaPx"
^TdZ*($5
#include <algorithm> //STL 通用算法 ~N0sJ%
#include <bitset> //STL 位集容器 n# 7Pr/*0
#include <cctype> :#t*K6dz
#include <cerrno> *%FA:Y
#include <clocale> t0E 51Ic@
#include <cmath> nms8@[4-
#include <complex> //复数类 8?FueAM'
#include <cstdio> GZ #aj|
#include <cstdlib> qSU|=
#include <cstring> ?h8{xa5b
#include <ctime> 8{
c !).
#include <deque> //STL 双端队列容器 6p;m\
#include <exception> //异常处理类 }j{!-&
#include <fstream> X[$++p
.
#include <functional> //STL 定义运算函数(代替运算符) t#E}NR
#include <limits> _GYMPq\%L#
#include <list> //STL 线性列表容器 2 -+f1,
#include <map> //STL 映射容器 Vm1-C<V9
#include <iomanip> A<MtKb
#include <ios> //基本输入/输出支持 `)$_YZq|SR
#include <iosfwd> //输入/输出系统使用的前置声明 VR?^HA9
#include <iostream> e]8,:Gd(
#include <istream> //基本输入流 Am4lEvb
#include <ostream> //基本输出流 6sfwlT
#include <queue> //STL 队列容器 5g5'@vMN
#include <set> //STL 集合容器 umEVy*hc
#include <sstream> //基于字符串的流
ZI>km?w
#include <stack> //STL 堆栈容器 Q;/a F`
#include <stdexcept> //标准异常类 KA s 1(oG
#include <streambuf> //底层输入/输出支持 \3YO<E!t
#include <string> //字符串类 (g!p>m!Z
#include <utility> //STL 通用模板类 8MwK.H[U
#include <vector> //STL 动态数组容器 ts~{w;c
#include <cwchar> [1G^/K"
#include <cwctype>
#/S
{6c
gXFWxT8S
using namespace std; cI0 ]}S
vb{i
////////////////////////////////////////////////////////////////////////// r#i?j}F}
:;]Oc
C99 增加 P\2M[Gu(Q
Rd*[%)
#include <complex.h> //复数处理 oA-:zz>wL
#include <fenv.h> //浮点环境 #\rwLpC1u
#include <inttypes.h> //整数格式转换 X@2-*so<
#include <stdbool.h> //布尔环境 J;Rv ~<7
#include <stdint.h> //整型环境 Zo-$z8
#include <tgmath.h> //通用类型数学宏