C、传统 C++ {{MRELipW
rIhl.5Y
#include <assert.h> //设定插入点 k_q0Q;6w!l
#include <ctype.h> //字符处理 FPI;Jx6W'
#include <errno.h> //定义错误码 R_7 d@FQ1
#include <float.h> //浮点数处理 (+3Wgl+]/
#include <fstream.h> //文件输入/输出 J<maQ6p
#include <iomanip.h> //参数化输入/输出 3G~@H>j
#include <iostream.h> //数据流输入/输出 [uls8
"^/j
#include <limits.h> //定义各种数据类型最值常量 T {Uc:Z
#include <locale.h> //定义本地化函数 B'EKM)dA
#include <math.h> //定义数学函数 ~-m "
#include <stdio.h> //定义输入/输出函数 [P7N{l=I
#include <stdlib.h> //定义杂项函数及内存分配函数 %V{7DA&C
#include <string.h> //字符串处理 ";Rtiiu
#include <strstrea.h> //基于数组的输入/输出 oDYRQozo>
#include <time.h> //定义关于时间的函数 .dQQoyR+O
#include <wchar.h> //宽字符处理及输入/输出 4NG?_D5&
#include <wctype.h> //宽字符分类 ^? ]%sdT q
FE!lok
////////////////////////////////////////////////////////////////////////// GF%314Xu
q]N:Tpm9
标准 C++ (同上的不再注释) aj,T)oDbt6
R&';Oro
#include <algorithm> //STL 通用算法 FMkzrs
#include <bitset> //STL 位集容器 Adgc%
.#
#include <cctype> ql?=(b;D
#include <cerrno> jR#~I@q^
#include <clocale> uDSxTz{
#include <cmath> K/=_b<
#include <complex> //复数类 (B-43!C
#include <cstdio> 'ao"9-c
#include <cstdlib> z,bQQ;z9
#include <cstring> w{90`
#include <ctime> Vy,^)]
#include <deque> //STL 双端队列容器 `o?Ph&p}
#include <exception> //异常处理类 %T9 sz4V
#include <fstream> A7`1-#
#include <functional> //STL 定义运算函数(代替运算符) V-r3-b
#include <limits> (N=5.7"T
#include <list> //STL 线性列表容器 @L:>!<
#include <map> //STL 映射容器 9Xo[(h)5d
#include <iomanip> %8M)2?E
#include <ios> //基本输入/输出支持 ]$\|ktY!
#include <iosfwd> //输入/输出系统使用的前置声明 dVo.Czyd
#include <iostream> ~~,rp) )
#include <istream> //基本输入流 &gE 75B
#include <ostream> //基本输出流 !\;FNu8_.
#include <queue> //STL 队列容器 MqA`yvQm
#include <set> //STL 集合容器 v[n7"
#include <sstream> //基于字符串的流 $Qy7G{XJ[^
#include <stack> //STL 堆栈容器 t/PlcV_M"
#include <stdexcept> //标准异常类 9bq<GC'eX8
#include <streambuf> //底层输入/输出支持 LW:LFzp
#include <string> //字符串类 )&<=.q
#include <utility> //STL 通用模板类 eBO@7F$
#include <vector> //STL 动态数组容器 A
&9(mB
#include <cwchar> V)i5=bHC
#include <cwctype> {?}*1,I
BMIyskl=i
using namespace std; lM[XS4/TRa
)
(Tom9^
////////////////////////////////////////////////////////////////////////// ^+9sG$T_EV
tDCw-
C99 增加 v^7LctcVm
08m;{+|vY
#include <complex.h> //复数处理 !HJ$UG/\
#include <fenv.h> //浮点环境 J!*/a'Cv
#include <inttypes.h> //整数格式转换 D*Q.G8(
#include <stdbool.h> //布尔环境 |J~eLh[d
#include <stdint.h> //整型环境 *I?Eb-!t
#include <tgmath.h> //通用类型数学宏