C、传统 C++ M^MdRu
<DMl<KZ
#include <assert.h> //设定插入点 W@ T~ly;e*
#include <ctype.h> //字符处理 ~1cnE:x;V
#include <errno.h> //定义错误码 rW0kA1=E
#include <float.h> //浮点数处理 JCz@s~f\y
#include <fstream.h> //文件输入/输出 2]I4M[|&z
#include <iomanip.h> //参数化输入/输出 $h^wG)s2P
#include <iostream.h> //数据流输入/输出 E_Im^a
#include <limits.h> //定义各种数据类型最值常量 N<f"]
#include <locale.h> //定义本地化函数 bQE};wM,
#include <math.h> //定义数学函数 UV5Ie!\nm
#include <stdio.h> //定义输入/输出函数 7]^M>#
#include <stdlib.h> //定义杂项函数及内存分配函数 pM x
#include <string.h> //字符串处理 I{
HN67O
#include <strstrea.h> //基于数组的输入/输出 z|=}1;(.
#include <time.h> //定义关于时间的函数 c#a@n 4
#include <wchar.h> //宽字符处理及输入/输出 F\fWvXdW
#include <wctype.h> //宽字符分类 .9R
[*<
OH;b"]
////////////////////////////////////////////////////////////////////////// Rz(QC\(
KQacoUHrK?
标准 C++ (同上的不再注释) %R@X>2l/_
eyefW n&
#include <algorithm> //STL 通用算法 Dpvk\t
#include <bitset> //STL 位集容器 ^m?KRm2
#include <cctype> RMX:9aQ3F
#include <cerrno> }xBc0gr
#include <clocale> FQT~pfY
#include <cmath> ElS 9?Q+
#include <complex> //复数类 cj+ FRG~u
#include <cstdio> ^
s1Q*He
#include <cstdlib> ;w'D4p= P
#include <cstring> HHiT]S9
#include <ctime> ulu9'ch
#include <deque> //STL 双端队列容器 Mzsfo;kk+
#include <exception> //异常处理类 f>aEkh6u9
#include <fstream> ,z3{u162
#include <functional> //STL 定义运算函数(代替运算符) ,
FhekaA
#include <limits> .gG1kW A-
#include <list> //STL 线性列表容器 dlJbI}-v=
#include <map> //STL 映射容器 /TZOJE(2j
#include <iomanip> +
` s@
#include <ios> //基本输入/输出支持 Q@
2i~Qo[
#include <iosfwd> //输入/输出系统使用的前置声明 GKvN*
SU=
#include <iostream> -QOw8vm
#include <istream> //基本输入流 !O-C,uSm
#include <ostream> //基本输出流 I?"q/Ub~h
#include <queue> //STL 队列容器 +|bmT
#include <set> //STL 集合容器 t'BLVCu
#include <sstream> //基于字符串的流 A$#p%yb
#include <stack> //STL 堆栈容器 uwa~-xX6
#include <stdexcept> //标准异常类 Mr?Xp(.}G
#include <streambuf> //底层输入/输出支持 ox:[f9.5
#include <string> //字符串类 N-I5X2
#include <utility> //STL 通用模板类 RY c!~Wh~Y
#include <vector> //STL 动态数组容器 Q2zjZC*'%
#include <cwchar> zunV<2~(2}
#include <cwctype> Np'2}6P
}e2(T
using namespace std; IX*idcxR
'd+NVj{C
////////////////////////////////////////////////////////////////////////// tjGd )
`)GrwfC
C99 增加 #{k|I$
Lb;zBmwB
#include <complex.h> //复数处理 U+)xu>I
#include <fenv.h> //浮点环境 Bn61AFy`
#include <inttypes.h> //整数格式转换 ms!r ef4`+
#include <stdbool.h> //布尔环境 k]5Bykf`Ky
#include <stdint.h> //整型环境 R,9[hNHWGs
#include <tgmath.h> //通用类型数学宏