C、传统 C++ 5-po>1g'
z:7F5!Z
#include <assert.h> //设定插入点 pD/S\E0@t
#include <ctype.h> //字符处理 H<?yG->
#include <errno.h> //定义错误码 DYl{{L8@
#include <float.h> //浮点数处理 `t2! M\)
#include <fstream.h> //文件输入/输出 jd'R2e
#include <iomanip.h> //参数化输入/输出 He23<hd!
#include <iostream.h> //数据流输入/输出 Y)RikF >
#include <limits.h> //定义各种数据类型最值常量 h"S/D[
#include <locale.h> //定义本地化函数 bcs(#
#include <math.h> //定义数学函数 _9
O'
#include <stdio.h> //定义输入/输出函数 bJ}+<##
#include <stdlib.h> //定义杂项函数及内存分配函数 h /Nt92
#include <string.h> //字符串处理 C(+BrIS*
#include <strstrea.h> //基于数组的输入/输出 WR1,J0UU6
#include <time.h> //定义关于时间的函数 Ww4G
#include <wchar.h> //宽字符处理及输入/输出
cK@K\AE
#include <wctype.h> //宽字符分类 #<3\}*/
:M`BVZ1t
////////////////////////////////////////////////////////////////////////// "VCr^'
IGQ8-#=
标准 C++ (同上的不再注释) |th )Q
_xsYcw~)
#include <algorithm> //STL 通用算法 @>ZjeDG>
#include <bitset> //STL 位集容器 Jz b".A
#include <cctype> >f/g:[
#include <cerrno> ,"ZlY}!Gn
#include <clocale> w!M ^p&T7
#include <cmath> v[GHqZ
#include <complex> //复数类 x{5*%}lX8
#include <cstdio> i i
Y[
#include <cstdlib> Yw
`VL)v(y
#include <cstring> Rw%KEUDm
#include <ctime> z<*]h^!3
#include <deque> //STL 双端队列容器 Ca|;8ggf
#include <exception> //异常处理类 "TI?
qoz
#include <fstream> n7vi@^lf(
#include <functional> //STL 定义运算函数(代替运算符) hdzaU&w
#include <limits> umk[\}Ip+P
#include <list> //STL 线性列表容器 PYGHN
T
#include <map> //STL 映射容器 ^)WGc/
#include <iomanip> cVN|5Y
#include <ios> //基本输入/输出支持 |yr}g-m
#include <iosfwd> //输入/输出系统使用的前置声明 JXrMtSp\
#include <iostream> \TjsXy=:)
#include <istream> //基本输入流 P$Nwf,d2u
#include <ostream> //基本输出流 '0+-Hit?
#include <queue> //STL 队列容器 t$b`Am
#include <set> //STL 集合容器 S:wmm}XQ
#include <sstream> //基于字符串的流 q-'zZ#
#include <stack> //STL 堆栈容器 G"]'`2.m
#include <stdexcept> //标准异常类 *=rl<?tX
#include <streambuf> //底层输入/输出支持 @L0.Z1 ).
#include <string> //字符串类 mSs%g L]g
#include <utility> //STL 通用模板类 Onao'sjY
#include <vector> //STL 动态数组容器 +m_quQ/ys
#include <cwchar> 9496ayi
#include <cwctype> Ad[-YT
xpae0vw
using namespace std; YvonZ
p4=^
UP
////////////////////////////////////////////////////////////////////////// ] '..G-
2]|+.9B
C99 增加 sNWj+T
CAk.2C/
#include <complex.h> //复数处理 5 Jd,]~KAP
#include <fenv.h> //浮点环境 yo5|~"yZY
#include <inttypes.h> //整数格式转换 3LG)s:p$/
#include <stdbool.h> //布尔环境 se&:Y&vrc~
#include <stdint.h> //整型环境 RaR$lcG+iY
#include <tgmath.h> //通用类型数学宏