C、传统 C++ e+2lus,u6t
F$:mGyl5_
#include <assert.h> //设定插入点 I(j{D>v
#include <ctype.h> //字符处理 l.}gWN9-
#include <errno.h> //定义错误码 -biw{
#include <float.h> //浮点数处理 /@&uaw
#include <fstream.h> //文件输入/输出 =3V4HQi
#include <iomanip.h> //参数化输入/输出 wt_ae|hv
#include <iostream.h> //数据流输入/输出 ">fRM=fl
#include <limits.h> //定义各种数据类型最值常量 chuJj
IY
#include <locale.h> //定义本地化函数 @ K2N cb7
#include <math.h> //定义数学函数 /<O9^hA|
#include <stdio.h> //定义输入/输出函数 !#olG}#[
#include <stdlib.h> //定义杂项函数及内存分配函数 !HXsxNe
#include <string.h> //字符串处理 iztF
#include <strstrea.h> //基于数组的输入/输出 |VM=:}s&
#include <time.h> //定义关于时间的函数 %md9ou`
#include <wchar.h> //宽字符处理及输入/输出 % 1<@p%y/
#include <wctype.h> //宽字符分类 j6 _w2
]8cD, NS
////////////////////////////////////////////////////////////////////////// 1&=2"
rX`fjS*C
标准 C++ (同上的不再注释) ZiH4s|
F*:H&,
#include <algorithm> //STL 通用算法 DAMw(
#include <bitset> //STL 位集容器 hSh^A5
/
#include <cctype> `I|Y7GoUO
#include <cerrno> cIuCuh0I`
#include <clocale> pFo,@M
#include <cmath> $K|2k7
#include <complex> //复数类 `\BBdQ#bH
#include <cstdio> {+9t!'
#include <cstdlib>
"JYWsE
#include <cstring> :c[T@[
#include <ctime> c Ct5m
#include <deque> //STL 双端队列容器 "(+aWvb
#include <exception> //异常处理类 GsqO^SV
#include <fstream> $VxuaOTyVZ
#include <functional> //STL 定义运算函数(代替运算符) aJ]t1
#include <limits> MAc/ T.[
#include <list> //STL 线性列表容器 ~~ty9;KYL
#include <map> //STL 映射容器 ^M1O)
#include <iomanip> 8Tc:TaL
#include <ios> //基本输入/输出支持 f+c{<fX
#include <iosfwd> //输入/输出系统使用的前置声明 L#_QrR6Sny
#include <iostream> <%`z:G3
#include <istream> //基本输入流 w;Pe_m7\EO
#include <ostream> //基本输出流 `-rtU
#include <queue> //STL 队列容器 H[r6 4~Sth
#include <set> //STL 集合容器 $T2zs$
#include <sstream> //基于字符串的流 I=K<%.
#include <stack> //STL 堆栈容器 MY&?*pV)
#include <stdexcept> //标准异常类 V5I xZn%
#include <streambuf> //底层输入/输出支持 kf)s3I/`(
#include <string> //字符串类 <|a9r: [
#include <utility> //STL 通用模板类 I]d?F:cdX
#include <vector> //STL 动态数组容器 wS:`c
J
#include <cwchar> F2=#\U$
#include <cwctype> QVN@B[9
$)(Zt^
using namespace std; @Z~0!VY
\'nE{
////////////////////////////////////////////////////////////////////////// 1a},(ZcdX
.noY[P8i
C99 增加 )q%DRLD'G
9Bu=8P?
#include <complex.h> //复数处理 LFQPysC
#include <fenv.h> //浮点环境 DJ NM=v
#include <inttypes.h> //整数格式转换 6rAenK-%
#include <stdbool.h> //布尔环境 Y3luU&'
#include <stdint.h> //整型环境 w6k^|."
#include <tgmath.h> //通用类型数学宏