C、传统 C++ 7;-i_&vws
@!O{>`
#include <assert.h> //设定插入点 dF]8>jBOL
#include <ctype.h> //字符处理 N)Kr4GC
#include <errno.h> //定义错误码 @ xr
#include <float.h> //浮点数处理 4 Z)]Cq*3
#include <fstream.h> //文件输入/输出 XnOl*#P
#include <iomanip.h> //参数化输入/输出 M3`A&*\;
#include <iostream.h> //数据流输入/输出 kn|l 3+
#include <limits.h> //定义各种数据类型最值常量 U8z"{
#include <locale.h> //定义本地化函数 X#<Sv>c^
#include <math.h> //定义数学函数 ^k##a-t<_>
#include <stdio.h> //定义输入/输出函数 Jz'+@q6h
#include <stdlib.h> //定义杂项函数及内存分配函数 K 5[ 3WHQ
#include <string.h> //字符串处理 bOKNWI
#include <strstrea.h> //基于数组的输入/输出 giJyMd}x
#include <time.h> //定义关于时间的函数 RVx<2,['
#include <wchar.h> //宽字符处理及输入/输出 k<qH<<r*
#include <wctype.h> //宽字符分类 .CpO+z
l/NK.Jr
////////////////////////////////////////////////////////////////////////// XS/TYdXB8
s$6#3%h
标准 C++ (同上的不再注释) ZW%`G@d"H-
"ukbqdKD
#include <algorithm> //STL 通用算法 D*,H%xA
#include <bitset> //STL 位集容器 J< M;vB)
#include <cctype> tn1aH
+
#include <cerrno> WQL`;uIX
#include <clocale> h]P$L>
#include <cmath> mX_`rvYII
#include <complex> //复数类 jXZNr
#include <cstdio> --sb ;QG
#include <cstdlib> RoRVu,1
#include <cstring> iKY&gnu"
#include <ctime> _AHVMsz@
#include <deque> //STL 双端队列容器 YfKty0
#include <exception> //异常处理类 V|7CYkB8
#include <fstream>
(5_(s`q.
#include <functional> //STL 定义运算函数(代替运算符) hBu=40K
#include <limits> t57b)5{FM
#include <list> //STL 线性列表容器 lh5d6VUA
#include <map> //STL 映射容器 s'I$yJ)@2E
#include <iomanip> &pz8vWCk
#include <ios> //基本输入/输出支持 yqwr0yDAl
#include <iosfwd> //输入/输出系统使用的前置声明 v g]&T
#include <iostream> p6)UR~9Rs
#include <istream> //基本输入流 p<e~x/@m*
#include <ostream> //基本输出流 A[bxxQSP\H
#include <queue> //STL 队列容器 %-CC_R|0$
#include <set> //STL 集合容器 dz 2d`=`3
#include <sstream> //基于字符串的流 A>puk2 s
#include <stack> //STL 堆栈容器 ,V?,I9qf
#include <stdexcept> //标准异常类 jU$PO\UTk
#include <streambuf> //底层输入/输出支持 a=dN.OB}F7
#include <string> //字符串类 y"ck;OQD
#include <utility> //STL 通用模板类 p3' +"sFU
#include <vector> //STL 动态数组容器 nj$K4_
#include <cwchar> d]]qy
#include <cwctype> OLwxGRYX
%54![-@
using namespace std; qT4s*kqr
4{KsCd)
////////////////////////////////////////////////////////////////////////// p%-9T>og
?da 3Azp
C99 增加 IpxjP\
9iE66N>z
#include <complex.h> //复数处理 b&1@rE-
#include <fenv.h> //浮点环境 S)%x22sqf
#include <inttypes.h> //整数格式转换 D~:fn|/Brp
#include <stdbool.h> //布尔环境 s-B\8&^C
#include <stdint.h> //整型环境 |*$_eb
#include <tgmath.h> //通用类型数学宏