C、传统 C++ Vw.c05 x
/HbxY
#include <assert.h> //设定插入点 ):OGhWq
#include <ctype.h> //字符处理 FjF:Eh
#include <errno.h> //定义错误码 #va|&QBZxM
#include <float.h> //浮点数处理 35I y\
#include <fstream.h> //文件输入/输出 rq bX9M^
#include <iomanip.h> //参数化输入/输出 _9!*laR!2
#include <iostream.h> //数据流输入/输出 8 #fzL7
#include <limits.h> //定义各种数据类型最值常量 7hwl[knyB
#include <locale.h> //定义本地化函数 =<mpZ'9gW
#include <math.h> //定义数学函数 lc9aDt
#include <stdio.h> //定义输入/输出函数 M\O6~UFq!
#include <stdlib.h> //定义杂项函数及内存分配函数 /z:pid,_0
#include <string.h> //字符串处理 g
/D@/AU1u
#include <strstrea.h> //基于数组的输入/输出 VP[-BK[
#include <time.h> //定义关于时间的函数 XDs )
#include <wchar.h> //宽字符处理及输入/输出 1T:M?N8J
#include <wctype.h> //宽字符分类 \?uaHX`1
I;H6E
////////////////////////////////////////////////////////////////////////// d#P3
<
CBw/a0Uck
标准 C++ (同上的不再注释) EV{kd.=f
'{=dEEi
#include <algorithm> //STL 通用算法 5N
"fD{v{
#include <bitset> //STL 位集容器 XOgl>1O
#include <cctype> V^fSrW]
#include <cerrno> pwo5Ij,~q
#include <clocale> ?z3c$}
#include <cmath> -;pZC}Nd3
#include <complex> //复数类 , ,1H#;j
#include <cstdio> )D\cm7WX^[
#include <cstdlib> x/D"a|
#include <cstring> (O {5L(
#include <ctime> 4a3Xz,[(a
#include <deque> //STL 双端队列容器 [<SM*fQ>t
#include <exception> //异常处理类 6v~` jS%3
#include <fstream> y,&.<Yc
#include <functional> //STL 定义运算函数(代替运算符) b<,Z^Z_
#include <limits> ]"bkB+I
#include <list> //STL 线性列表容器 jO
xH'1I
#include <map> //STL 映射容器 n5CjwLgu\b
#include <iomanip> MG ,exN
@
#include <ios> //基本输入/输出支持 bB^% O^:
#include <iosfwd> //输入/输出系统使用的前置声明 C@+"d3
#include <iostream> 3GVE/GtU
#include <istream> //基本输入流 )9'eckt
#include <ostream> //基本输出流 *>Sb4:
#include <queue> //STL 队列容器 `k y>M-
#include <set> //STL 集合容器 '5xf?0@s.
#include <sstream> //基于字符串的流 ;%"YA
#include <stack> //STL 堆栈容器 c@u)m}V
#include <stdexcept> //标准异常类 `H+~LVH
#include <streambuf> //底层输入/输出支持 _22;hnG<iy
#include <string> //字符串类 me]O
#include <utility> //STL 通用模板类 Z-(#}(HD
#include <vector> //STL 动态数组容器 ,Q|[Yr
#include <cwchar> ]~S,K}T
#include <cwctype> }p-<+sFo
mXZOkx{
using namespace std; @Dc?fyY*o<
\2cbZQx
////////////////////////////////////////////////////////////////////////// jP'.a. ^o$
wI'8B{[
C99 增加 yNp l0 d
Cb}hE
ro
#include <complex.h> //复数处理 Co6ghH7T
#include <fenv.h> //浮点环境 weQC9e~d{-
#include <inttypes.h> //整数格式转换 I)$` @.
#include <stdbool.h> //布尔环境 >C""T`5]
#include <stdint.h> //整型环境 XVXiiQ^
#include <tgmath.h> //通用类型数学宏