C、传统 C++ ?mJNzHrq;
ze<Lc/ ;X~
#include <assert.h> //设定插入点 K85;7R5
#include <ctype.h> //字符处理 ccc*"_45#
#include <errno.h> //定义错误码 (5s$vcK
#include <float.h> //浮点数处理 ieN}Ajl2
#include <fstream.h> //文件输入/输出 8IY n9<L
#include <iomanip.h> //参数化输入/输出 Q`"gKBN1
#include <iostream.h> //数据流输入/输出 lLO|,
#include <limits.h> //定义各种数据类型最值常量 J6eF7 fa
#include <locale.h> //定义本地化函数 8\?7k
#include <math.h> //定义数学函数 W=fw*ro
#include <stdio.h> //定义输入/输出函数 .5ap9li]
#include <stdlib.h> //定义杂项函数及内存分配函数 DD3.el}6a
#include <string.h> //字符串处理 U[EM<5@I
#include <strstrea.h> //基于数组的输入/输出 TBN0u k
#include <time.h> //定义关于时间的函数 uT'}_2=:
#include <wchar.h> //宽字符处理及输入/输出 x=g=e
<_
#include <wctype.h> //宽字符分类 RKu'WD?sdH
tiZ5
:^$b4
////////////////////////////////////////////////////////////////////////// ^t&S?_DSZ
Q ke8BRBn
标准 C++ (同上的不再注释) Bb5|+bP
t6GL/M4
#include <algorithm> //STL 通用算法 )[d?&GK
#include <bitset> //STL 位集容器 9 )1 8
#include <cctype> 2lVJ"jg
#include <cerrno> q6h'=By
#include <clocale> ~c&ygL3
#include <cmath> 3;@/`Z_\lt
#include <complex> //复数类 Yv?nw-HM
#include <cstdio> !}Sf?nP#
#include <cstdlib> 9`P<|(
#include <cstring> Gkz\By
#include <ctime> _g|zDi^
#include <deque> //STL 双端队列容器 WaY_{)x
#include <exception> //异常处理类 f}JiYZ
#include <fstream> h0}=C_.^
#include <functional> //STL 定义运算函数(代替运算符) S]E1+,-*
#include <limits> A>@ i
TI
#include <list> //STL 线性列表容器 Y}<w)b1e|
#include <map> //STL 映射容器 ;JM%O8
#include <iomanip> b&AGVWhh
#include <ios> //基本输入/输出支持 `mar-r_m
#include <iosfwd> //输入/输出系统使用的前置声明 <L4.*
#include <iostream> ^I =W<
#include <istream> //基本输入流 ;D}8acQ
#include <ostream> //基本输出流 {MP8B'r-6
#include <queue> //STL 队列容器 lSGtbSyDI
#include <set> //STL 集合容器 toDv~v
#include <sstream> //基于字符串的流 3uSj5+@q6
#include <stack> //STL 堆栈容器 E8_j?X1
#include <stdexcept> //标准异常类 kD&%
7Vz
#include <streambuf> //底层输入/输出支持 ^P4q6BW
#include <string> //字符串类 ,/?7sHK-0
#include <utility> //STL 通用模板类 Y>Oh]?
#include <vector> //STL 动态数组容器 BHoy:Tp
#include <cwchar> \ 5MD1r}
#include <cwctype> :@BAiKa[wa
G(g`>' m
using namespace std; 5Lmhip
pKeK6K\8
//////////////////////////////////////////////////////////////////////////
-&N^S?
F1m 1%
C99 增加 $AGW8"
n}KF)W=
#include <complex.h> //复数处理 &I8Q'
#include <fenv.h> //浮点环境 q"Ct=d
#include <inttypes.h> //整数格式转换 nitKX.t8
#include <stdbool.h> //布尔环境 EL*OeyU1l
#include <stdint.h> //整型环境
G@Ha
t
#include <tgmath.h> //通用类型数学宏