C、传统 C++ Y`g o V
ebBi zc=
#include <assert.h> //设定插入点 Ark]>4x>
#include <ctype.h> //字符处理 DTO_IP
#include <errno.h> //定义错误码 T]th3*
#include <float.h> //浮点数处理 |=0vgwd"S
#include <fstream.h> //文件输入/输出 Skr(C5T
#include <iomanip.h> //参数化输入/输出 p%DU1+SA
#include <iostream.h> //数据流输入/输出 Yq ]sPE92
#include <limits.h> //定义各种数据类型最值常量 ;\K]~
#include <locale.h> //定义本地化函数 @2E52$zu
#include <math.h> //定义数学函数 5*44QV
#include <stdio.h> //定义输入/输出函数 a>47k{RSzE
#include <stdlib.h> //定义杂项函数及内存分配函数 bdL= ?KS
#include <string.h> //字符串处理 5zK,(cF0-
#include <strstrea.h> //基于数组的输入/输出 <$s6?6P
#include <time.h> //定义关于时间的函数 mG~kf]Y
#include <wchar.h> //宽字符处理及输入/输出 /EjXyrn2
#include <wctype.h> //宽字符分类 +La2-I
ad}8~6}_&
////////////////////////////////////////////////////////////////////////// B_[efM<R$
\,13mB6
标准 C++ (同上的不再注释) cKTjQJ#
"z9C@T
#include <algorithm> //STL 通用算法 .i*oZ'[X
#include <bitset> //STL 位集容器 ]'5Xjcx
#include <cctype> 2"D4q (@
#include <cerrno> oJA_"xp
#include <clocale> >6S7#)0T
#include <cmath> /9br &s$B
#include <complex> //复数类 x,C8):\t`B
#include <cstdio> {0,b[
#include <cstdlib> 30vxOkS
#include <cstring> 0OO[@Ht
#include <ctime> t=B1yvE"
#include <deque> //STL 双端队列容器 (_ G>dP_
#include <exception> //异常处理类 .57p4{
#include <fstream> $b`nV4p
#include <functional> //STL 定义运算函数(代替运算符) ,sitO y}ks
#include <limits> A:m+v{*`4
#include <list> //STL 线性列表容器 4aArxJ
#include <map> //STL 映射容器 PhyIea
#include <iomanip> xX-r<:'tmi
#include <ios> //基本输入/输出支持
kt6)F&;$
#include <iosfwd> //输入/输出系统使用的前置声明 v@EErF
#include <iostream> FO*Gc
Z
#include <istream> //基本输入流 5Npxs&Ea
#include <ostream> //基本输出流 7"!`<5o^
#include <queue> //STL 队列容器 &|x7T<,)
#include <set> //STL 集合容器 t`B@01;8A
#include <sstream> //基于字符串的流 *v%y;^{k[/
#include <stack> //STL 堆栈容器 Nvd(?+c
#include <stdexcept> //标准异常类 w=#'8ZuU
#include <streambuf> //底层输入/输出支持 %*Ex2we&
#include <string> //字符串类 *Z#OfB4}
#include <utility> //STL 通用模板类 t*hy"e{*a
#include <vector> //STL 动态数组容器 =mXC,<]
#include <cwchar> glLVT
i
#include <cwctype> [mzed{p]]
M{ncWq*_j
using namespace std; =803rNe
b-
- tl@H
////////////////////////////////////////////////////////////////////////// eA7
Iv{M
pa46,q&M
C99 增加 &{e ]S!D
1r=cCM
#include <complex.h> //复数处理 oMN<jAU.
#include <fenv.h> //浮点环境 pl).U#7`
#include <inttypes.h> //整数格式转换 ,]EhDW6
#include <stdbool.h> //布尔环境 >
-OOU
#include <stdint.h> //整型环境 4Kch=jt4#
#include <tgmath.h> //通用类型数学宏