C、传统 C++ Ns1u0$fg
n$b/@hp$z
#include <assert.h> //设定插入点 bcj7.rh]'h
#include <ctype.h> //字符处理 2!" N9Adt
#include <errno.h> //定义错误码 PJ
#uYM
#include <float.h> //浮点数处理 t[an,3
#include <fstream.h> //文件输入/输出 {SROg;vA
#include <iomanip.h> //参数化输入/输出 ;TaT=%
#include <iostream.h> //数据流输入/输出 PeE'#&wn
#include <limits.h> //定义各种数据类型最值常量 &p4q# p7,
#include <locale.h> //定义本地化函数 iY*Xm,#
#include <math.h> //定义数学函数 gCwg ;c-
#include <stdio.h> //定义输入/输出函数 pQEHWq"Q
#include <stdlib.h> //定义杂项函数及内存分配函数 4H1s"mP<
#include <string.h> //字符串处理 ,VHvQU
#include <strstrea.h> //基于数组的输入/输出 `^w5/v#
#include <time.h> //定义关于时间的函数 Q) FL|
#include <wchar.h> //宽字符处理及输入/输出 q)!{oi{x(
#include <wctype.h> //宽字符分类 ]Fjz+CGg
YQYN.\
////////////////////////////////////////////////////////////////////////// k`TEA?RfQ
0Y"==g+>f
标准 C++ (同上的不再注释) y4envjl0
OwDjUKeN
#include <algorithm> //STL 通用算法 yil{RfBEr_
#include <bitset> //STL 位集容器 4Q3Q.(
#include <cctype> jkPXkysm
#include <cerrno> =ohdL_6
#include <clocale> +F67g00T|
#include <cmath> 1>|p1YZ"
#include <complex> //复数类 pGsVO5M?
#include <cstdio> t/q\Ne\\,
#include <cstdlib> wmT3 >
#include <cstring> 9prG@
#include <ctime> &|9?B!,`
#include <deque> //STL 双端队列容器 5Z;Py"%
#include <exception> //异常处理类 7 H<_
wW
#include <fstream> 78NAcP~6c
#include <functional> //STL 定义运算函数(代替运算符) EzthRe9
#include <limits> Bpqq-_@
#include <list> //STL 线性列表容器 c"0CHrd
#include <map> //STL 映射容器 e=_*\`/CN
#include <iomanip> qLPI^g,
#include <ios> //基本输入/输出支持 $]%k
<|X
#include <iosfwd> //输入/输出系统使用的前置声明 :!aFfb["
#include <iostream> lz # inC|
#include <istream> //基本输入流 3HfT9
#include <ostream> //基本输出流 oXz:zoNQ
#include <queue> //STL 队列容器 x&8?/BR
#include <set> //STL 集合容器 V#sANi?mpo
#include <sstream> //基于字符串的流 T`vj6F
#include <stack> //STL 堆栈容器 ]n!pn#Q
#include <stdexcept> //标准异常类 ozGK
-$
#include <streambuf> //底层输入/输出支持 5a_K|(~3I
#include <string> //字符串类
G%4vZPA
#include <utility> //STL 通用模板类 [%3{mAd
#include <vector> //STL 动态数组容器 [c3hwogf:
#include <cwchar> LWIU7dw
#include <cwctype> z{AfR2L
)DoY*'Cl
using namespace std; XSZW9/I-(|
7Qq>?H -
////////////////////////////////////////////////////////////////////////// v'Lckw@G4
_u.l|yR
C99 增加 rKR<R(=!=
LR`/pet
#include <complex.h> //复数处理 NEK;'"~
#include <fenv.h> //浮点环境 H,zRmK6A%
#include <inttypes.h> //整数格式转换 uT;9xV%ch
#include <stdbool.h> //布尔环境 @n})oAC,
#include <stdint.h> //整型环境 AMtFOXx%I
#include <tgmath.h> //通用类型数学宏