C、传统 C++ Y=RdxCCx4
.&Uu w
#include <assert.h> //设定插入点 ;r(hZ%pD
#include <ctype.h> //字符处理 {Rc!S? 8
#include <errno.h> //定义错误码 }T<[JXh=J
#include <float.h> //浮点数处理 1J8okBhZ
#include <fstream.h> //文件输入/输出 8?ig/HSt2
#include <iomanip.h> //参数化输入/输出 C@!C='b,
#include <iostream.h> //数据流输入/输出 z}I4m
#include <limits.h> //定义各种数据类型最值常量 e[txJ*SuO
#include <locale.h> //定义本地化函数 SplEY!.k
#include <math.h> //定义数学函数 gFk~SJd
#include <stdio.h> //定义输入/输出函数 `-)!4oJ]
#include <stdlib.h> //定义杂项函数及内存分配函数 l=(4o4um
#include <string.h> //字符串处理 y+3<
]
N
#include <strstrea.h> //基于数组的输入/输出 B8Ob~?
#include <time.h> //定义关于时间的函数 }e}J6[wP
#include <wchar.h> //宽字符处理及输入/输出 H(qDQqJHYy
#include <wctype.h> //宽字符分类 W<Ms0
7:fC,2+
////////////////////////////////////////////////////////////////////////// 0bY}<x(;
sTu6KMn
标准 C++ (同上的不再注释) +eiM6* /0
om$x;L6
#include <algorithm> //STL 通用算法 !>$tRW?gH~
#include <bitset> //STL 位集容器 CD$0Z
#include <cctype> 9uk}r; %9
#include <cerrno> FD?!bI4
#include <clocale> jJ^p
?
#include <cmath> VCOz?Y*
#include <complex> //复数类 &\(p<TF
#include <cstdio> W/*2I3a
#include <cstdlib> ,TrrqCw>
#include <cstring> dP8b\H
#include <ctime> $umh&z/
#include <deque> //STL 双端队列容器 WfbG }%&J
#include <exception> //异常处理类 Y02 cX@K6
#include <fstream> SKT f=rY
#include <functional> //STL 定义运算函数(代替运算符) 5<o8prtB
#include <limits> |eD$eZ=m
#include <list> //STL 线性列表容器 j=U
[V&T
#include <map> //STL 映射容器 Q;p?.GI?-
#include <iomanip> oqzx}?0
#include <ios> //基本输入/输出支持 #:rywz+
#include <iosfwd> //输入/输出系统使用的前置声明 IooAXwOF
#include <iostream> 3*@ sp
#include <istream> //基本输入流 j^DoILw
#include <ostream> //基本输出流 F+.:Ry FS
#include <queue> //STL 队列容器 *ea%KE":
#include <set> //STL 集合容器 #R_IF&7
#include <sstream> //基于字符串的流 <5qXC.{Cyp
#include <stack> //STL 堆栈容器 0@w8,x
#include <stdexcept> //标准异常类 :r0?[#r?N,
#include <streambuf> //底层输入/输出支持 m.ib#Y)y
#include <string> //字符串类 y%.^|
G
#include <utility> //STL 通用模板类 an+`>}]F
#include <vector> //STL 动态数组容器 lq2P10j@
#include <cwchar> b!W!Vvf^x
#include <cwctype> HCP'V
~Yrtz
using namespace std; `<I+(8]Uz
aAY=0rCI-
////////////////////////////////////////////////////////////////////////// \B _g=K
JA!O,4
C99 增加 6?-vj2,
Kyy CS>
#include <complex.h> //复数处理 "S6'<~s
#include <fenv.h> //浮点环境 o!TG8aeb
#include <inttypes.h> //整数格式转换 mjdZ^
#include <stdbool.h> //布尔环境 CRy;>UI
#include <stdint.h> //整型环境 r+8%oWj
#include <tgmath.h> //通用类型数学宏