C、传统 C++ H}}t)H
_6(zG.Fg
#include <assert.h> //设定插入点 zD?$O7
|ZK
#include <ctype.h> //字符处理 :V_$?S
#include <errno.h> //定义错误码 &[s^`e
#include <float.h> //浮点数处理 [I^SKvM
#include <fstream.h> //文件输入/输出 JT:9"lmJz,
#include <iomanip.h> //参数化输入/输出 }'Z(J)Bg
#include <iostream.h> //数据流输入/输出 5w1=j\oq
#include <limits.h> //定义各种数据类型最值常量 aFC3yMKXh
#include <locale.h> //定义本地化函数 dj]sr!q+
#include <math.h> //定义数学函数 IC{>q3
#include <stdio.h> //定义输入/输出函数 eFeeloH?e*
#include <stdlib.h> //定义杂项函数及内存分配函数 E? FPxs
#include <string.h> //字符串处理 wLgRI$_Dm
#include <strstrea.h> //基于数组的输入/输出 :#gz)r
#include <time.h> //定义关于时间的函数 x/4lD}Pw]
#include <wchar.h> //宽字符处理及输入/输出 }U#S*
#include <wctype.h> //宽字符分类 H?aB8=)
Y&&Y:+
V
////////////////////////////////////////////////////////////////////////// Z4(2&t^
P!vBS"S
标准 C++ (同上的不再注释) ~ib#x~Db
fO:*85%}7
#include <algorithm> //STL 通用算法 $OUa3!U_!
#include <bitset> //STL 位集容器 Xajjzl\b
#include <cctype> rSZWmns
#include <cerrno> #Y{"`5>
#include <clocale> tRXM8't
#include <cmath> Tok"-$`N
#include <complex> //复数类 F`ihw[
Wn
#include <cstdio> ^Krkf4fO
#include <cstdlib> ^%<v| Y(X
#include <cstring> bqe;) A7
#include <ctime> JN8k x;@
#include <deque> //STL 双端队列容器 {bNnhW*qOu
#include <exception> //异常处理类 a
v`eA`)S
#include <fstream> i/$lOde
#include <functional> //STL 定义运算函数(代替运算符) Onc!5L
#include <limits> cX&c% ~
#include <list> //STL 线性列表容器 Ti'O 2k
#include <map> //STL 映射容器 pH*L8tT
#include <iomanip> 1/{:}9Z@
#include <ios> //基本输入/输出支持 :WxMv~e{U
#include <iosfwd> //输入/输出系统使用的前置声明 ;0BCM(>Wo
#include <iostream> ]c5Shj5|p
#include <istream> //基本输入流 _{b a
#include <ostream> //基本输出流 @
J"1!`
#include <queue> //STL 队列容器 \e=@h!p
#include <set> //STL 集合容器 q&N&n%rbm
#include <sstream> //基于字符串的流 K crF=cA
#include <stack> //STL 堆栈容器 *|jqRfa"
#include <stdexcept> //标准异常类 77
`/YE#M
#include <streambuf> //底层输入/输出支持 I%(+tJ
#include <string> //字符串类 Qv?jo(]
#include <utility> //STL 通用模板类 w?/,LV
#include <vector> //STL 动态数组容器 >a0;|;hp
#include <cwchar> HKh)T$IZM
#include <cwctype> /|\`NARI
#?-W.
using namespace std; U "}Kth
S\f^y8*<
////////////////////////////////////////////////////////////////////////// ]xS< \{og
SZ0Zi\W
C99 增加 d_yqmx?w
oZ=e/\[K
#include <complex.h> //复数处理 `\qU.m0(j
#include <fenv.h> //浮点环境 :wF(([&4p!
#include <inttypes.h> //整数格式转换 ~+d]yeDrhx
#include <stdbool.h> //布尔环境 @9L%`=]b^
#include <stdint.h> //整型环境 9XoKOR(
#include <tgmath.h> //通用类型数学宏