C、传统 C++ ;[)O{%s
JO[7_*s
#include <assert.h> //设定插入点 /hF@Xh%hY
#include <ctype.h> //字符处理 z.Y`"B'j`
#include <errno.h> //定义错误码 {mO QRAKl
#include <float.h> //浮点数处理 w{+G/Ea
#include <fstream.h> //文件输入/输出 }aSTo"~m#
#include <iomanip.h> //参数化输入/输出 [8%R*}
#include <iostream.h> //数据流输入/输出 R^*%yjy9
#include <limits.h> //定义各种数据类型最值常量 g$S|CqRG
#include <locale.h> //定义本地化函数 sH_B*cr3
#include <math.h> //定义数学函数 ?2q4dx0
#include <stdio.h> //定义输入/输出函数 >8;EeRvI
#include <stdlib.h> //定义杂项函数及内存分配函数 >>nOS] UL
#include <string.h> //字符串处理 Nl$b;~u
#include <strstrea.h> //基于数组的输入/输出 r{mj[N'@
#include <time.h> //定义关于时间的函数 kD*r@s]=
#include <wchar.h> //宽字符处理及输入/输出 .30eO_msK
#include <wctype.h> //宽字符分类 1buVV]*~
tXXnHEz
////////////////////////////////////////////////////////////////////////// ]Y;5U
*TyLB&<t
标准 C++ (同上的不再注释) 2pQ29
l~(A(1
#include <algorithm> //STL 通用算法 " i!Xiy~
#include <bitset> //STL 位集容器 cZR9rnZT
#include <cctype> 4(nwi[1Y
#include <cerrno> @h=r;N#/`P
#include <clocale> W#Eg\nT
#include <cmath> (ay((|)
#include <complex> //复数类 >}H3V]
#include <cstdio> BZP{{
#include <cstdlib> Yx[B*] 2
#include <cstring> P!xN]or]u
#include <ctime> Wd>gOE
#include <deque> //STL 双端队列容器 z{m%^,Cs,
#include <exception> //异常处理类 (Q(=MEar
#include <fstream> 8*&|Q1`K:
#include <functional> //STL 定义运算函数(代替运算符) )`5=6i
#include <limits> &iI5^b-P
#include <list> //STL 线性列表容器 ssY5g !%
#include <map> //STL 映射容器 |\BxKwS^
#include <iomanip> EBMZ7b-7
#include <ios> //基本输入/输出支持 as^!c!
#include <iosfwd> //输入/输出系统使用的前置声明 G0h/]%I
#include <iostream> qw<~v?{|C
#include <istream> //基本输入流 iy-~CPNB_
#include <ostream> //基本输出流 F a+#bX7
#include <queue> //STL 队列容器 T|^KG<uPV!
#include <set> //STL 集合容器 R1?LB"aN
#include <sstream> //基于字符串的流 HRg< f= oz
#include <stack> //STL 堆栈容器 >xCc#]v&
#include <stdexcept> //标准异常类 AFdBf6/"i
#include <streambuf> //底层输入/输出支持 +yd{-iH
#include <string> //字符串类 B%(-UTQf
#include <utility> //STL 通用模板类 | K w}S/F
#include <vector> //STL 动态数组容器 PblO?@~O
#include <cwchar> ;&9wG`
#include <cwctype> %X -G(Z
O>,Rsj!e
using namespace std; $N/"c$50,
3)*Twqt
////////////////////////////////////////////////////////////////////////// 3[Z7bhpV
}. t8Cy9G
C99 增加 v|IG
G'r
_1ax6MwX
#include <complex.h> //复数处理 -izZ D
#include <fenv.h> //浮点环境 ]I:h4hgw
#include <inttypes.h> //整数格式转换 M0K+Vz=
#include <stdbool.h> //布尔环境 6b-E|;"]:^
#include <stdint.h> //整型环境 2)T.Ci cx
#include <tgmath.h> //通用类型数学宏