C、传统 C++ HU+zzTgI
rgXD>yu(
#include <assert.h> //设定插入点 ^ ]CQd
#include <ctype.h> //字符处理 U Zc%XZ`"V
#include <errno.h> //定义错误码 [49Ae2W`
#include <float.h> //浮点数处理 gPg2Ve0Qy
#include <fstream.h> //文件输入/输出 nW`EBs
#include <iomanip.h> //参数化输入/输出 TGu]6NzyZ
#include <iostream.h> //数据流输入/输出 <Z8^.t)|
#include <limits.h> //定义各种数据类型最值常量 ]*JH~.p
#include <locale.h> //定义本地化函数 7.tEi}O&_g
#include <math.h> //定义数学函数 gVI2{\a
#include <stdio.h> //定义输入/输出函数 d]w%zo,yr
#include <stdlib.h> //定义杂项函数及内存分配函数 :pPn)j$
#include <string.h> //字符串处理 ~TfQuIvQB
#include <strstrea.h> //基于数组的输入/输出 X3,+aL`
#include <time.h> //定义关于时间的函数 Ld3!2g2y7&
#include <wchar.h> //宽字符处理及输入/输出 "4e{Cq
#include <wctype.h> //宽字符分类 {>R'IjFc
y]TNjLpo$
////////////////////////////////////////////////////////////////////////// R3Ka^l8R|
< .B^\X$
标准 C++ (同上的不再注释) _f@,
>l
%t<ba[9F
#include <algorithm> //STL 通用算法 x$Tf IFy
#include <bitset> //STL 位集容器 =
~^
#include <cctype> MJ0UZxnl
#include <cerrno> (YH/#n1"{
#include <clocale> ;m cu(J
#include <cmath> hz~jyH.h_
#include <complex> //复数类 g?d*cwtU
#include <cstdio> zCdzxb_h"
#include <cstdlib> >gLLr1L\
#include <cstring> f6zS_y9gn
#include <ctime> JW-!m8
#include <deque> //STL 双端队列容器 5D%gDw+"
#include <exception> //异常处理类 A%c)=(,
#include <fstream> qmM%MPv
#include <functional> //STL 定义运算函数(代替运算符) wx%TQ!
#include <limits> -C<Ni
#include <list> //STL 线性列表容器 bem-T`>'
#include <map> //STL 映射容器 7JHS8C<]
#include <iomanip> Kk_h&by?
#include <ios> //基本输入/输出支持 }MV=I$S2U
#include <iosfwd> //输入/输出系统使用的前置声明 Ar VNynQ
#include <iostream> 8}(ul
#include <istream> //基本输入流 s/J/kKj*s
#include <ostream> //基本输出流 d T*8I0\+
#include <queue> //STL 队列容器 rc9Y:(S1l
#include <set> //STL 集合容器 #cD20t
#include <sstream> //基于字符串的流 gaXKP1m^
#include <stack> //STL 堆栈容器 F_&bE@k
#include <stdexcept> //标准异常类 0[T>UEI?
#include <streambuf> //底层输入/输出支持 WbP*kV{
#include <string> //字符串类 nfbq J
#include <utility> //STL 通用模板类 c/\$AJV.H
#include <vector> //STL 动态数组容器 #\)tz z
#include <cwchar> :[ AP^
#include <cwctype> u t4+c0
,Y3wXmG
using namespace std; I_h{n{,sr
81<0B@E
////////////////////////////////////////////////////////////////////////// Z2x%
:u$+lq
C99 增加 XTOZ]H*^
x3++JG
#include <complex.h> //复数处理 r9d dVD
#include <fenv.h> //浮点环境 t@O4!mFH
#include <inttypes.h> //整数格式转换 9M$N>[og
#include <stdbool.h> //布尔环境 ko%B`
#include <stdint.h> //整型环境 $ZOKB9QccC
#include <tgmath.h> //通用类型数学宏