C、传统 C++ YpZ+n*&+
V2?=4mb
#include <assert.h> //设定插入点 m!4ndO;0vh
#include <ctype.h> //字符处理 @+M
/&
#include <errno.h> //定义错误码 '(VJ&UlS2
#include <float.h> //浮点数处理 {M$1N5Eh
#include <fstream.h> //文件输入/输出 T`.O'!
#include <iomanip.h> //参数化输入/输出 nntuLuW
#include <iostream.h> //数据流输入/输出 |`Ntv}
#include <limits.h> //定义各种数据类型最值常量 HU}7zK2
#include <locale.h> //定义本地化函数 7 60Y$/Wz
#include <math.h> //定义数学函数 kg~mgMR+w
#include <stdio.h> //定义输入/输出函数 .hP D$o
#include <stdlib.h> //定义杂项函数及内存分配函数 UcDS9f_87
#include <string.h> //字符串处理 t#/YN.@r
#include <strstrea.h> //基于数组的输入/输出 *{@Nq=fE
#include <time.h> //定义关于时间的函数 ~<5!?6Yt
#include <wchar.h> //宽字符处理及输入/输出 B{#I:Rs9
#include <wctype.h> //宽字符分类 6l1jMm|=
X
%E>Aw>]v
////////////////////////////////////////////////////////////////////////// 50wulGJud
b3[!V{|
标准 C++ (同上的不再注释) 69NeQ$](
Y=I'czg
#include <algorithm> //STL 通用算法 H@>` F
#include <bitset> //STL 位集容器 itP,\k7>d
#include <cctype> Sy_G,+$\
#include <cerrno> ((;!<5-`s
#include <clocale> ]p GL`ge5
#include <cmath> j2[+ztG
#include <complex> //复数类 -3*]G^y2
#include <cstdio> q0vQa
#include <cstdlib> u6JM]kR
#include <cstring> >kVz49j
#include <ctime> Y$_B1_
#include <deque> //STL 双端队列容器 )Aqtew+A&
#include <exception> //异常处理类 WOap+
#include <fstream> gM:".Ee
#include <functional> //STL 定义运算函数(代替运算符) 4!?eRY
#include <limits> F JyT+
#include <list> //STL 线性列表容器 } q8ASYNc
#include <map> //STL 映射容器 X \/#@T
#include <iomanip> O\r0bUPE
#include <ios> //基本输入/输出支持 iYy1!\
#include <iosfwd> //输入/输出系统使用的前置声明 5\nAeP
#include <iostream> R\[e!g*I
#include <istream> //基本输入流 9yP;@y*d
#include <ostream> //基本输出流 =aW9L)8D
#include <queue> //STL 队列容器 > ~O.@|
#include <set> //STL 集合容器
x.$FNt(9
#include <sstream> //基于字符串的流 s$j,9uRr
#include <stack> //STL 堆栈容器 @q)d
#include <stdexcept> //标准异常类
P*j|.63
#include <streambuf> //底层输入/输出支持 OneY_<*a<
#include <string> //字符串类 [4)F f
#include <utility> //STL 通用模板类 y:uE3Apm
#include <vector> //STL 动态数组容器 es7=%!0
#include <cwchar> K[YyBEid
#include <cwctype> ~P-mC@C
>A"(KSNL
using namespace std; C3g_!dUs
5z)~\;[ -
////////////////////////////////////////////////////////////////////////// 4*;MJ[|
seJ^s@H5l
C99 增加 JucY[`|JV
Ow,b^|
#include <complex.h> //复数处理 HGg@ _9tW
#include <fenv.h> //浮点环境 w0unS`\4
#include <inttypes.h> //整数格式转换 F!K>K z
#include <stdbool.h> //布尔环境 K3uRs{l|
#include <stdint.h> //整型环境 *LY8D<:zs
#include <tgmath.h> //通用类型数学宏