C、传统 C++ tQz =_;jy
[Q(FBoI|
#include <assert.h> //设定插入点 49S*f
#include <ctype.h> //字符处理 GG0l\!2)
#include <errno.h> //定义错误码 z8v] Kt &
#include <float.h> //浮点数处理 v%gkQa
#include <fstream.h> //文件输入/输出 9z>I&vcX
#include <iomanip.h> //参数化输入/输出 :&*Y
Io
#include <iostream.h> //数据流输入/输出 *d%"/l^0
#include <limits.h> //定义各种数据类型最值常量 @'UbTB!
#include <locale.h> //定义本地化函数 YC(7k7
#include <math.h> //定义数学函数 pW{Q%"W
#include <stdio.h> //定义输入/输出函数 O |45r
#include <stdlib.h> //定义杂项函数及内存分配函数 SMX70T!'9
#include <string.h> //字符串处理 3$x[{\ {
#include <strstrea.h> //基于数组的输入/输出 N|t!G^rP
#include <time.h> //定义关于时间的函数 D c5tRO
#include <wchar.h> //宽字符处理及输入/输出 >TZ 'V,
#include <wctype.h> //宽字符分类 iveJh2!#<
(C{l4
////////////////////////////////////////////////////////////////////////// kw,eTB<;R
y.h2hv]Bc
标准 C++ (同上的不再注释) 7.V'T=@x3)
o<
)"\f/,
#include <algorithm> //STL 通用算法 SrlTwcD
#include <bitset> //STL 位集容器 &>Zm gz
#include <cctype> 1<gY
#include <cerrno> \<k5c-8Hb
#include <clocale> gumT"x .^
#include <cmath> QH~;B[->
#include <complex> //复数类
AT@m_d
#include <cstdio> 7X+SK&PX
#include <cstdlib> SZVNu*G!H
#include <cstring> yjcZTvjJ
#include <ctime> wm1`<r^M.
#include <deque> //STL 双端队列容器 *`D}voU
#include <exception> //异常处理类 IXjFK
#include <fstream> S87E$k
#include <functional> //STL 定义运算函数(代替运算符) DxuT23.
(
#include <limits> HW|5'opF
#include <list> //STL 线性列表容器 z;T_%?u
#include <map> //STL 映射容器 %x}iEqk U
#include <iomanip> BQ8vg8e]B
#include <ios> //基本输入/输出支持 is?#wrV=K
#include <iosfwd> //输入/输出系统使用的前置声明 FA5|`
#include <iostream> =|}_ASbzw
#include <istream> //基本输入流 R-2NJ0F7
#include <ostream> //基本输出流 <V[Qs3uo(
#include <queue> //STL 队列容器 1Ce7\A
#include <set> //STL 集合容器 Z5x&P_.x[
#include <sstream> //基于字符串的流 RCZ"BxleU
#include <stack> //STL 堆栈容器 r{+P2MPW
#include <stdexcept> //标准异常类 hJ~Na\?w
#include <streambuf> //底层输入/输出支持 :V,agAMn
#include <string> //字符串类 (!cG*FrN
#include <utility> //STL 通用模板类 R1sWhB99
#include <vector> //STL 动态数组容器 > nHaMj
#include <cwchar> !TNp|U!
#include <cwctype> &TgS$c5k
q4y P\B
using namespace std; *'?aXS -'r
>:C0ZQUW
////////////////////////////////////////////////////////////////////////// $<NrJgQ
2Dc2uU@`r
C99 增加 _?VMSu
g:dtfa/]
#include <complex.h> //复数处理 8Pb~`E/
#include <fenv.h> //浮点环境 -BV8,1
#include <inttypes.h> //整数格式转换 v3p'*81;
#include <stdbool.h> //布尔环境 ?/@U#Qy
#include <stdint.h> //整型环境 }dv$^4
*n
#include <tgmath.h> //通用类型数学宏