C、传统 C++ rBkf @
d;(L@9HHD
#include <assert.h> //设定插入点 VD.p"F(]
#include <ctype.h> //字符处理 I, .`w/I+
#include <errno.h> //定义错误码 s%J|r{F6
#include <float.h> //浮点数处理 e0*',
#include <fstream.h> //文件输入/输出 |jaUVE_2[
#include <iomanip.h> //参数化输入/输出 JMOQDo
#include <iostream.h> //数据流输入/输出 Om{[ <tL
#include <limits.h> //定义各种数据类型最值常量 VD+8j29
#include <locale.h> //定义本地化函数 /U6G?3b
#include <math.h> //定义数学函数 ;vF8V`f
#include <stdio.h> //定义输入/输出函数 -";'l@D=
#include <stdlib.h> //定义杂项函数及内存分配函数 >3X!c"#l
#include <string.h> //字符串处理 |z|5j!Nfh
#include <strstrea.h> //基于数组的输入/输出 I
[0od+K
#include <time.h> //定义关于时间的函数 'sY>(D*CQ
#include <wchar.h> //宽字符处理及输入/输出 Sy'/%[+goJ
#include <wctype.h> //宽字符分类 FymA_Eq
,ibI@8;#~'
////////////////////////////////////////////////////////////////////////// Nd#t !=
Wb!%_1dER
标准 C++ (同上的不再注释) ^Q4w<sX'
<2ffcBv
#include <algorithm> //STL 通用算法 s+tS4E?
#include <bitset> //STL 位集容器 i?'HVx
#include <cctype> rr*",a"}m
#include <cerrno> E[t\LTt*n
#include <clocale> JXGIVH?Rpu
#include <cmath> o]}b#U8S
#include <complex> //复数类 '9*wr*
#include <cstdio> [t<^WmgtxL
#include <cstdlib> "(/|[7D)
#include <cstring> /,/T{V[
#include <ctime> u|WX?@\
#include <deque> //STL 双端队列容器 omECes)
#include <exception> //异常处理类 FI*.2rdSR
#include <fstream> H<%7aOwO2
#include <functional> //STL 定义运算函数(代替运算符) iyu%o9_0
#include <limits> CTR|b}!
#include <list> //STL 线性列表容器 >?b/_O
#include <map> //STL 映射容器 h^~eTi;c]Q
#include <iomanip> *AGC[w}/
#include <ios> //基本输入/输出支持 _"a(vfl#
#include <iosfwd> //输入/输出系统使用的前置声明 L,waQk / @
#include <iostream> X+P&
up06
#include <istream> //基本输入流 }^?dK3~q
#include <ostream> //基本输出流 [G[HQ)A
#include <queue> //STL 队列容器 .+ai
dWd
#include <set> //STL 集合容器 (Y,
@-V
#include <sstream> //基于字符串的流 d~S.PRg=
#include <stack> //STL 堆栈容器 z.]t_`KuF9
#include <stdexcept> //标准异常类 %I(N
#include <streambuf> //底层输入/输出支持 Kdx?s;i
#include <string> //字符串类 r&1N8o
#include <utility> //STL 通用模板类 }.o
rfW
#include <vector> //STL 动态数组容器 a%;$l_wVT:
#include <cwchar> \[]36|$LS
#include <cwctype> eAu3,qoM
k2<VUeW5
using namespace std; K^A\S
n|SsV
////////////////////////////////////////////////////////////////////////// /r[0Dw
/Kwo^Q{
C99 增加 A37Z;/H~k
WSi Utf|g
#include <complex.h> //复数处理 UG&/0{j5XV
#include <fenv.h> //浮点环境 kIrME:
#include <inttypes.h> //整数格式转换
YmB
z$
#include <stdbool.h> //布尔环境 a`q">T%q
#include <stdint.h> //整型环境
,Ztj
#include <tgmath.h> //通用类型数学宏