C、传统 C++ "c[ D0{\{
N1dp%b9W(
#include <assert.h> //设定插入点 9cJzL"yi
#include <ctype.h> //字符处理 ]s3U +t?
#include <errno.h> //定义错误码 i
#5rk(^t
#include <float.h> //浮点数处理 h{ s- e.
#include <fstream.h> //文件输入/输出 y/!h.[
#include <iomanip.h> //参数化输入/输出 $tGk,.#j
#include <iostream.h> //数据流输入/输出 EAVB:gE
#include <limits.h> //定义各种数据类型最值常量 Tvd=EO
#include <locale.h> //定义本地化函数 oz!;sj{,D
#include <math.h> //定义数学函数 R)s@2S
#include <stdio.h> //定义输入/输出函数 <S*o}:iB
#include <stdlib.h> //定义杂项函数及内存分配函数 Jg I+k Nx
#include <string.h> //字符串处理 5ZG-3qj
#include <strstrea.h> //基于数组的输入/输出 JGS4r+
#include <time.h> //定义关于时间的函数 `^t0379e
#include <wchar.h> //宽字符处理及输入/输出 3*13XQ
#include <wctype.h> //宽字符分类 9(.P2yO
4~<
:Pj
////////////////////////////////////////////////////////////////////////// &.sfu$]
; Drt4fOxX
标准 C++ (同上的不再注释) -p|@En n
.Rq|F
#include <algorithm> //STL 通用算法 Jf<+VJ>t
#include <bitset> //STL 位集容器 (A.%q1h
#include <cctype> -]1F]d
#include <cerrno> }@-4*5P3
#include <clocale> /b *VFA/75
#include <cmath> 6qsT/
#include <complex> //复数类 JJL#Y
#include <cstdio> h= uv4&
#include <cstdlib> OidF{I*O
#include <cstring> wyqXD.of
#include <ctime> l1X&Nw1W
#include <deque> //STL 双端队列容器 <mE)&7C
#include <exception> //异常处理类 ,z6&k
#include <fstream> ({/@=e x*
#include <functional> //STL 定义运算函数(代替运算符) %M+ID['K9/
#include <limits> ]AlRu(
#include <list> //STL 线性列表容器 7r=BGoA2E
#include <map> //STL 映射容器 bAIo5lr
#include <iomanip> +" 4E:9P?
#include <ios> //基本输入/输出支持 }gY:VDW
#include <iosfwd> //输入/输出系统使用的前置声明 !oTF2Q+C
#include <iostream> 9p
;)s
#include <istream> //基本输入流 T\g%.
#include <ostream> //基本输出流 RIXUzKLO
#include <queue> //STL 队列容器 Y|bCbaF
#include <set> //STL 集合容器 :-x F=Y(;
#include <sstream> //基于字符串的流 S<Zb>9pl
#include <stack> //STL 堆栈容器 w!{g^*R+!
#include <stdexcept> //标准异常类 h#K863
#include <streambuf> //底层输入/输出支持 :'-FaGy
#include <string> //字符串类 vas
#include <utility> //STL 通用模板类 ;M '?k8L
#include <vector> //STL 动态数组容器 Ip}(!D|
#include <cwchar> u@v0I$
#include <cwctype> PxENLQ3a=
^cO^3=
using namespace std; Q`#Y_N-h+
<&3qFK*9r
////////////////////////////////////////////////////////////////////////// !|P>%bi
\wY? 6#;
C99 增加 _9!_fIY
Xz`?b4i
#include <complex.h> //复数处理 =y"
lX{}G
#include <fenv.h> //浮点环境 @}&o(q1M0
#include <inttypes.h> //整数格式转换 _1w?nN'
#include <stdbool.h> //布尔环境 2J;h}/!H
#include <stdint.h> //整型环境 Q>y2C8rnJ/
#include <tgmath.h> //通用类型数学宏