C、传统 C++ iM$iZ;Tp
zj$Ve
#include <assert.h> //设定插入点 $,o@&QT?AT
#include <ctype.h> //字符处理 39x
4(
#include <errno.h> //定义错误码 Ev T"+;9/p
#include <float.h> //浮点数处理 V"T5<HA9
#include <fstream.h> //文件输入/输出 YXg^t$
#include <iomanip.h> //参数化输入/输出 Xif>ZL?aXb
#include <iostream.h> //数据流输入/输出 W]D+[mpgK
#include <limits.h> //定义各种数据类型最值常量 sfp.> bMj
#include <locale.h> //定义本地化函数 6ZQ$5PY
#include <math.h> //定义数学函数 eI@G B
#include <stdio.h> //定义输入/输出函数 u}7r\MnwK,
#include <stdlib.h> //定义杂项函数及内存分配函数 M8VsU*aU
#include <string.h> //字符串处理 A{wk$`vH
#include <strstrea.h> //基于数组的输入/输出 0IQ|`C.
#include <time.h> //定义关于时间的函数 {~V_6wY g
#include <wchar.h> //宽字符处理及输入/输出 y(j vl|z[
#include <wctype.h> //宽字符分类 AQPzId*z
N::.o+1
////////////////////////////////////////////////////////////////////////// 7U-?Rd
U\q?tvn'J
标准 C++ (同上的不再注释) R4XcWx*pQ
):V)Hrq?x
#include <algorithm> //STL 通用算法 ah!fQLMH
#include <bitset> //STL 位集容器 LufZ,
#include <cctype> V_9>Z?
#include <cerrno> >+S* Wtm5
#include <clocale> HqA3.<=F,
#include <cmath> h}%yG{'/M=
#include <complex> //复数类 aT=V/Xh}d
#include <cstdio> GEAVc9V
#include <cstdlib> {6*{P!H
#include <cstring>
L/: u
#include <ctime> _aOsFFB1KF
#include <deque> //STL 双端队列容器 .DcuJC=
#include <exception> //异常处理类 v?h8-yed
#include <fstream> 9'!I6;M
#include <functional> //STL 定义运算函数(代替运算符) Xqas[:)7+
#include <limits> MP`WU} 2
#include <list> //STL 线性列表容器 tA9(N>[*
#include <map> //STL 映射容器 0'Qo eFKG
#include <iomanip> U=UnE"h
#include <ios> //基本输入/输出支持 sJYs{Wm
#include <iosfwd> //输入/输出系统使用的前置声明 rVx?Yo1F'
#include <iostream> 2n5{H fpY
#include <istream> //基本输入流 _:9-x;0H2
#include <ostream> //基本输出流 "a>a
"Ei
#include <queue> //STL 队列容器 J Y@x.?N5$
#include <set> //STL 集合容器 O:G-I$F|
#include <sstream> //基于字符串的流 pmi`Er
#include <stack> //STL 堆栈容器 ppM^&6x^
#include <stdexcept> //标准异常类 ic|>JX$G
#include <streambuf> //底层输入/输出支持 NYZI;P1DA
#include <string> //字符串类 }[I|oV5*+&
#include <utility> //STL 通用模板类 &