C、传统 C++ iER@_?
>6HGh#0(p
#include <assert.h> //设定插入点 ;RRw-|/Wm
#include <ctype.h> //字符处理 zQG{j\
#include <errno.h> //定义错误码 zX4RqI
#include <float.h> //浮点数处理 N+@ Ff3M
#include <fstream.h> //文件输入/输出 6-fv<Pn
#include <iomanip.h> //参数化输入/输出 R$8{f:Pj
#include <iostream.h> //数据流输入/输出 yDwh]t
#include <limits.h> //定义各种数据类型最值常量 3h d30o
#include <locale.h> //定义本地化函数 6#!CBY^{
#include <math.h> //定义数学函数 $`55 E(
#include <stdio.h> //定义输入/输出函数 f!`?_
#include <stdlib.h> //定义杂项函数及内存分配函数 N)GHQlgH
#include <string.h> //字符串处理 G(TFv\`vH
#include <strstrea.h> //基于数组的输入/输出 9$HBKcO
#include <time.h> //定义关于时间的函数 )c{>@WM~
#include <wchar.h> //宽字符处理及输入/输出 3ie
k>'T
#include <wctype.h> //宽字符分类 RYjK4xT?Y/
h]s~w
////////////////////////////////////////////////////////////////////////// eNK[P=-
PPr Pj^%z=
标准 C++ (同上的不再注释) M{{kO@P"9
Z)M
"`2Ur
#include <algorithm> //STL 通用算法 kuD$]A
Q`&
#include <bitset> //STL 位集容器 ,1#? 0q
#include <cctype> LwK]fFtu
#include <cerrno> o_BTo5]
#include <clocale> jD6HCIjd'
#include <cmath> ]i$y;]f
#include <complex> //复数类 :sJ7Wok6~
#include <cstdio> C| ~A]wc=
#include <cstdlib> 2cH RiRT
#include <cstring> gTXpaB<
#include <ctime> rB$~,q&.V
#include <deque> //STL 双端队列容器 ,MNv}w@
#include <exception> //异常处理类 '<BLkr# @
#include <fstream> t]@>kAA>2L
#include <functional> //STL 定义运算函数(代替运算符) jDpA>{O[
#include <limits> 94BH{9b5
#include <list> //STL 线性列表容器 ={sjoMW
#include <map> //STL 映射容器 z3K$gEve
#include <iomanip> 3NLn}
#include <ios> //基本输入/输出支持 g"1V]
#include <iosfwd> //输入/输出系统使用的前置声明 Lo{wTYt:J
#include <iostream>
,"(G
#include <istream> //基本输入流 )>:~XA|?
#include <ostream> //基本输出流 s@ @Km1w
#include <queue> //STL 队列容器 A-T-4I
#include <set> //STL 集合容器 _&hM6N
#include <sstream> //基于字符串的流 mi7?t/D1Z
#include <stack> //STL 堆栈容器 u9OY
Jo
#include <stdexcept> //标准异常类 AX8~w(sv
#include <streambuf> //底层输入/输出支持 6/mz.,g2
#include <string> //字符串类 ,<t.Iz%
#include <utility> //STL 通用模板类 fq6Obh=A#
#include <vector> //STL 动态数组容器 @6>Q&GYqt
#include <cwchar> gGL}FNH
#include <cwctype> Ne1Oz}
W_`]7RO8
using namespace std; /)sP, 2/
rM,e$
////////////////////////////////////////////////////////////////////////// ,s #~00C|
E5n7
<
C99 增加 vS>'LX
>X$JeME3
#include <complex.h> //复数处理 'NhQBk
#include <fenv.h> //浮点环境 E(4c&
#include <inttypes.h> //整数格式转换 P\7*ql`
#include <stdbool.h> //布尔环境 FT-.gi0
#include <stdint.h> //整型环境 )bOfs*S
#include <tgmath.h> //通用类型数学宏