C、传统 C++ "3Y0`&:D
3%b6{ie/=
#include <assert.h> //设定插入点 Slc\&Eb
#include <ctype.h> //字符处理 om:VFs\U
#include <errno.h> //定义错误码 }Jj}%XxKs
#include <float.h> //浮点数处理 nAlQ7'
#include <fstream.h> //文件输入/输出 K[zVa
#include <iomanip.h> //参数化输入/输出 bV3|6]k^
#include <iostream.h> //数据流输入/输出 KoT%Mfu
#include <limits.h> //定义各种数据类型最值常量 FfT`;j
#include <locale.h> //定义本地化函数 Wmv#:U
#include <math.h> //定义数学函数 SXP]%{@R/
#include <stdio.h> //定义输入/输出函数 am6L8N
#include <stdlib.h> //定义杂项函数及内存分配函数 Uw<nxD/+
#include <string.h> //字符串处理 U| R_OLWAg
#include <strstrea.h> //基于数组的输入/输出 S{T >}'y
#include <time.h> //定义关于时间的函数 ]3Sp W{=^(
#include <wchar.h> //宽字符处理及输入/输出 q'Pf]
#include <wctype.h> //宽字符分类 =[ 7A v>
8zW2zkv2|#
////////////////////////////////////////////////////////////////////////// =41?^1\
<lJ345Q
标准 C++ (同上的不再注释) l9Q-iJ
N4TV
#include <algorithm> //STL 通用算法 (X*^dO
#include <bitset> //STL 位集容器 MkXmA`cP
#include <cctype> 8'y$M] e9n
#include <cerrno> 0?|<I{z2
#include <clocale> *.w9c
#include <cmath> wi{3/
#include <complex> //复数类 O+x!Bg7
#include <cstdio> +X
88;-
#include <cstdlib> yyTnL 2Y9
#include <cstring> /PXzwP_(A
#include <ctime> EQSQFRk;
#include <deque> //STL 双端队列容器 2&J)dtqz
#include <exception> //异常处理类 5146kp|1
#include <fstream> }3WxZv]I}
#include <functional> //STL 定义运算函数(代替运算符) 5~DJWi,
#include <limits> +^F Zq$NP
#include <list> //STL 线性列表容器 BDQsP$'6QT
#include <map> //STL 映射容器 /Z}}(6T
#include <iomanip> +D*Z_Yh6
#include <ios> //基本输入/输出支持 >9Vn.S
#include <iosfwd> //输入/输出系统使用的前置声明 o}p n0KO,
#include <iostream> ,zY{
#include <istream> //基本输入流 .O<obq~;C
#include <ostream> //基本输出流 -jmY)(\
#include <queue> //STL 队列容器 +R75v )
#include <set> //STL 集合容器 gf\oC> N
#include <sstream> //基于字符串的流 FW DNpr
#include <stack> //STL 堆栈容器 }"%N4(Kd
#include <stdexcept> //标准异常类 * kh tJ]=
#include <streambuf> //底层输入/输出支持 6j|{`Zd)G
#include <string> //字符串类 P@~yx#G
#include <utility> //STL 通用模板类 7tCw*t$
#include <vector> //STL 动态数组容器 goWuw}?
#include <cwchar> \cM2k-
#include <cwctype> lr&a;aZp
V>rU.Mp
QU
using namespace std; AFt s(
%E;'ln4h&,
////////////////////////////////////////////////////////////////////////// _7y[B&g[r
\o3gKoL%
C99 增加 W[r>.7>?h
'$+ogBS
#include <complex.h> //复数处理 P[fq8lDA
#include <fenv.h> //浮点环境 Ab;.5O$y
#include <inttypes.h> //整数格式转换 E _|<jy$`
#include <stdbool.h> //布尔环境 )D%~`,#pQ
#include <stdint.h> //整型环境 @IZnFHN
#include <tgmath.h> //通用类型数学宏