C、传统 C++ zg$ag4%Qgg
) TRUx
#include <assert.h> //设定插入点 \
FJ ae
#include <ctype.h> //字符处理 &gUa^5'#
#include <errno.h> //定义错误码 6Nt/>[
#include <float.h> //浮点数处理 *||Q_tlz
#include <fstream.h> //文件输入/输出 z 7+>G/o
#include <iomanip.h> //参数化输入/输出 4YR{
*
#include <iostream.h> //数据流输入/输出 Uv652DC
#include <limits.h> //定义各种数据类型最值常量 IW-|"5?9'
#include <locale.h> //定义本地化函数 96P&+
#include <math.h> //定义数学函数 2+Oz$9`.
#include <stdio.h> //定义输入/输出函数 MSRk|0Mcr
#include <stdlib.h> //定义杂项函数及内存分配函数 i0zrXaKV
#include <string.h> //字符串处理 tU *`X(;
#include <strstrea.h> //基于数组的输入/输出 !Ce!D0Tx
#include <time.h> //定义关于时间的函数 .2s^8 g O
#include <wchar.h> //宽字符处理及输入/输出 *2rc Y
#include <wctype.h> //宽字符分类 zx*D)i5-
hljKBx~
////////////////////////////////////////////////////////////////////////// _O;4>
)lz~Rt;1i
标准 C++ (同上的不再注释) v`]y:Ku|wR
|~PaCw8-ge
#include <algorithm> //STL 通用算法 nF<xJs
#include <bitset> //STL 位集容器 \Hf/8!q
#include <cctype> gXM+N(M-
#include <cerrno> pf%;*
#include <clocale> F^`+.G\
#include <cmath> Nwe-7/Q
#include <complex> //复数类 yqVoedN
#include <cstdio> *M_^I)*L
#include <cstdlib> `xx3JQv[
#include <cstring> &]shBvzl^
#include <ctime> (E,Ibz2G:e
#include <deque> //STL 双端队列容器 h=JW^\?\]
#include <exception> //异常处理类 >5?:iaq
z
#include <fstream> 7[UD;&\k
#include <functional> //STL 定义运算函数(代替运算符) \ 9iiS(e
#include <limits> gNc;P[
#include <list> //STL 线性列表容器 gS@<sO$d>
#include <map> //STL 映射容器 Tj{3#?]Ho
#include <iomanip> .wyuB;:
#include <ios> //基本输入/输出支持
;NrPMz
#include <iosfwd> //输入/输出系统使用的前置声明 &fl RrJ
#include <iostream> x+;y0`oL
#include <istream> //基本输入流 6:6A"A
#include <ostream> //基本输出流 YDj5+'y
#include <queue> //STL 队列容器 Jb^{o+s53
#include <set> //STL 集合容器 FSAX,Y
#include <sstream> //基于字符串的流 C"%B>e
#include <stack> //STL 堆栈容器 (|rf>=B+H
#include <stdexcept> //标准异常类 vxLr034
#include <streambuf> //底层输入/输出支持 [HUK
9hG
#include <string> //字符串类 %u_dxpx
#include <utility> //STL 通用模板类 .N@+Ms3
#include <vector> //STL 动态数组容器 /y6f~F
#include <cwchar> cza_LO(
#include <cwctype> CC;^J-h/
bN03}&I
using namespace std; U_j[<.aN)
!pkIaCxs
////////////////////////////////////////////////////////////////////////// S^|U"
dv+ZxP%g
C99 增加 }/,Rp/+7]
R!lug;u#
#include <complex.h> //复数处理 jzGK(%sw"
#include <fenv.h> //浮点环境 xI~AZ:m
#include <inttypes.h> //整数格式转换 }P-C-L{yE(
#include <stdbool.h> //布尔环境 W&&|T;P<J
#include <stdint.h> //整型环境 8lGM>(:o
#include <tgmath.h> //通用类型数学宏