C、传统 C++ 6f9<&dCK
Saq>o.
#include <assert.h> //设定插入点 4bjp*1 *]
#include <ctype.h> //字符处理 7,VWvmWJex
#include <errno.h> //定义错误码 bh6wI%8H
#include <float.h> //浮点数处理 w^6N
:]d
#include <fstream.h> //文件输入/输出 3EX&.OL!
#include <iomanip.h> //参数化输入/输出 g<tTZD\g
#include <iostream.h> //数据流输入/输出 |}.B!vg(4
#include <limits.h> //定义各种数据类型最值常量 i1\ /\^
#include <locale.h> //定义本地化函数 bc}OmPE
#include <math.h> //定义数学函数 SJ_cwYwI$
#include <stdio.h> //定义输入/输出函数 naCI55Wx
#include <stdlib.h> //定义杂项函数及内存分配函数 z"C(#Y56 x
#include <string.h> //字符串处理 ij5=f0^4.
#include <strstrea.h> //基于数组的输入/输出 v7u}nx
#include <time.h> //定义关于时间的函数 hg/&[/eodm
#include <wchar.h> //宽字符处理及输入/输出 e>9{36~jh
#include <wctype.h> //宽字符分类 !td.ks0
_llaH
////////////////////////////////////////////////////////////////////////// /
H/Ne
)r
$ttr_4=
标准 C++ (同上的不再注释) 2jBE+k"M
4$w-A-\t
#include <algorithm> //STL 通用算法 BcO2* 3
#include <bitset> //STL 位集容器 $5(%M8qmQ
#include <cctype> }ucg!i3C
#include <cerrno> 5!{g6=(
#include <clocale> vszAr(
t
#include <cmath> #/=yz<B
#include <complex> //复数类 6]49kHgMhe
#include <cstdio> #{cpG2Rs
#include <cstdlib> yj9gN}+
#include <cstring> PY<V
#include <ctime> W G r\R
#include <deque> //STL 双端队列容器 u)]sJ1p
#include <exception> //异常处理类 5Cka."bQ
#include <fstream> &b8D'XQu
#include <functional> //STL 定义运算函数(代替运算符) J%B?YO,
#include <limits> zQfxw?~A
#include <list> //STL 线性列表容器 yC$7XSr=
#include <map> //STL 映射容器 -T6%3>h
#include <iomanip> >{=RQgGy
#include <ios> //基本输入/输出支持 YAG3PWmD
#include <iosfwd> //输入/输出系统使用的前置声明 ADUI@#vk
#include <iostream> ")buDU6_
#include <istream> //基本输入流 <4bo7XH
#include <ostream> //基本输出流 .]l2)OlLQ
#include <queue> //STL 队列容器 Ci:QIsu*
#include <set> //STL 集合容器 D4-U[l+K>
#include <sstream> //基于字符串的流 -iX!F~qS,
#include <stack> //STL 堆栈容器 L, GtIZkE
#include <stdexcept> //标准异常类
H;L&G|[
#include <streambuf> //底层输入/输出支持 }=4".V`-o
#include <string> //字符串类 \{mJO>x
#include <utility> //STL 通用模板类 &<