C、传统 C++ ?#rDoYt/Sx
D/9&pRsO
#include <assert.h> //设定插入点 c3`X19'%fM
#include <ctype.h> //字符处理 ka[]pY
#include <errno.h> //定义错误码 U:#9!J?41
#include <float.h> //浮点数处理 mUm9[X~'
#include <fstream.h> //文件输入/输出 ;5q=/
#include <iomanip.h> //参数化输入/输出 6S2D\Bt,_
#include <iostream.h> //数据流输入/输出 "So+
#include <limits.h> //定义各种数据类型最值常量 `Q,moz
#include <locale.h> //定义本地化函数 Qi w "x,
#include <math.h> //定义数学函数 ds4ERe /
#include <stdio.h> //定义输入/输出函数 iU~oPp[e
#include <stdlib.h> //定义杂项函数及内存分配函数 D5]T.8kX(7
#include <string.h> //字符串处理 O6YYOmt3
#include <strstrea.h> //基于数组的输入/输出 BQ)zm
#include <time.h> //定义关于时间的函数 pI( OI>~3
#include <wchar.h> //宽字符处理及输入/输出 L@ql)Lc);
#include <wctype.h> //宽字符分类 H--(zxK
&xj?MgdNL
////////////////////////////////////////////////////////////////////////// ZxwI< T:&
+'N?`l6<
标准 C++ (同上的不再注释) Z8 1]>
i?A4uyYwS
#include <algorithm> //STL 通用算法 :jT1=PfL
#include <bitset> //STL 位集容器 U9y[b82
#include <cctype> L
V?- g
#include <cerrno> DdN{=}A
#include <clocale> 0%cbno@1V
#include <cmath> `CUTb*{`
#include <complex> //复数类 }RO Cj,|
#include <cstdio> :&/'rMi<T
#include <cstdlib> 3*/y<Z'H
#include <cstring> w=rh@S]
#include <ctime> =CFO]9
#include <deque> //STL 双端队列容器 eXc`"T,C.
#include <exception> //异常处理类 : ,fs'!
#include <fstream> }<[@)g.h.
#include <functional> //STL 定义运算函数(代替运算符) ;xN4L
#include <limits> f-k%P$"X&
#include <list> //STL 线性列表容器 dTB^6>H
#include <map> //STL 映射容器 HKP<=<8/O
#include <iomanip> xeIt7b?#
#include <ios> //基本输入/输出支持 Elom_
#include <iosfwd> //输入/输出系统使用的前置声明 0%<Fc9#
#include <iostream> ^}a..@|%W
#include <istream> //基本输入流
^I5k+cL
#include <ostream> //基本输出流 gH,^XZe
#include <queue> //STL 队列容器 P@`@?kMU
#include <set> //STL 集合容器 kbN2dL
#include <sstream> //基于字符串的流 Ev,>_1#Xm
#include <stack> //STL 堆栈容器 ^r?ZrbSbz
#include <stdexcept> //标准异常类 p[!&D}&6h
#include <streambuf> //底层输入/输出支持 VA&_dU]*
#include <string> //字符串类 d!D#:l3;
#include <utility> //STL 通用模板类 >KNiMW^V
#include <vector> //STL 动态数组容器 ]t=m
#include <cwchar> K pDK Ii
#include <cwctype> MD1n+FgTu
QaH32(iH
using namespace std; 5*/~) wN\U
>OgA3)X
////////////////////////////////////////////////////////////////////////// Ovxs+mQ
[1F.
C99 增加 pi*cO
pV9$Vg?-H
#include <complex.h> //复数处理 `+CRUdr
#include <fenv.h> //浮点环境 (oBvpFP33
#include <inttypes.h> //整数格式转换 bg'Qq|<U
#include <stdbool.h> //布尔环境 bE74Ui
#include <stdint.h> //整型环境 p`fUpARA!
#include <tgmath.h> //通用类型数学宏