C、传统 C++ 3IQ)%EN
Nq6~6Rr
#include <assert.h> //设定插入点 w|:UTJ>@
#include <ctype.h> //字符处理 ..6 : _{wg
#include <errno.h> //定义错误码 rq?:I:0
#include <float.h> //浮点数处理 Qg;A (\z
#include <fstream.h> //文件输入/输出 2*Hw6@Jj
#include <iomanip.h> //参数化输入/输出 Dw{rjK\TT'
#include <iostream.h> //数据流输入/输出 xO)vn\uJ
#include <limits.h> //定义各种数据类型最值常量 }ozlED`E
#include <locale.h> //定义本地化函数 ;> **+ezF
#include <math.h> //定义数学函数
/B)ZB})z
#include <stdio.h> //定义输入/输出函数 3&'ll51t
#include <stdlib.h> //定义杂项函数及内存分配函数 lG12Su/
#include <string.h> //字符串处理 7|LJwXQ-
#include <strstrea.h> //基于数组的输入/输出 qawb9Iud0
#include <time.h> //定义关于时间的函数 T-ID{i
#include <wchar.h> //宽字符处理及输入/输出 ^_ <jg0V
#include <wctype.h> //宽字符分类 #mwV66'H
R2WEPMH%
////////////////////////////////////////////////////////////////////////// T.O^40y
',j'Hf
标准 C++ (同上的不再注释) wr{03mQHxp
f>\OT
#include <algorithm> //STL 通用算法 w='1uV<6
#include <bitset> //STL 位集容器 ktLXL;~X
#include <cctype> S6CM/
#include <cerrno> =S/$h}Vi
#include <clocale> maQE Bi,
#include <cmath> >yFEUD:
#include <complex> //复数类 6z
v+Av:
#include <cstdio> H|_^T.n?E
#include <cstdlib> N|hNh$J[
#include <cstring> H?98^y7
#include <ctime> Xr\|U89P
#include <deque> //STL 双端队列容器 1;cV [&3
#include <exception> //异常处理类 le*mr0a
#include <fstream> uU(G &:@
#include <functional> //STL 定义运算函数(代替运算符) 6OR5zXpk
#include <limits> S6-)N(3|
#include <list> //STL 线性列表容器 @k:f(c
#include <map> //STL 映射容器 RK?b/9y
#include <iomanip> P\\4 w)C
#include <ios> //基本输入/输出支持 2`>/y
#include <iosfwd> //输入/输出系统使用的前置声明 q<`YJ,
#include <iostream> g+Vfd(e
#include <istream> //基本输入流 su.hmc
#include <ostream> //基本输出流 9Axk-c
#include <queue> //STL 队列容器 amq]&.M
#include <set> //STL 集合容器 !Cxo4Twg
#include <sstream> //基于字符串的流 wHm{4
#include <stack> //STL 堆栈容器 LX),oR
#include <stdexcept> //标准异常类 XH4!|wz
#include <streambuf> //底层输入/输出支持 `&$"oW{HW
#include <string> //字符串类 )1ia;6}
#include <utility> //STL 通用模板类 7[5g_D t
#include <vector> //STL 动态数组容器 Gxu
#include <cwchar> 2|]$hjs
#include <cwctype> -y]\;pbZ0
N%N%
using namespace std; f!hQ"1[
Sx)b~ *
////////////////////////////////////////////////////////////////////////// $3>k/*=
,JIjAm*2
C99 增加 {a`t1oX(
Jj+|>(P
#include <complex.h> //复数处理 *(6vO{
#include <fenv.h> //浮点环境 wY|&qX,
#include <inttypes.h> //整数格式转换 H_)\:gTG
#include <stdbool.h> //布尔环境 m[ *)sm
#include <stdint.h> //整型环境
jL8[;*^G
#include <tgmath.h> //通用类型数学宏