C、传统 C++ =Kq/EDe
DAZzc :1Aj
#include <assert.h> //设定插入点 6}Se$XMl
#include <ctype.h> //字符处理 ::k>V\;
#include <errno.h> //定义错误码 ra="4T$va
#include <float.h> //浮点数处理 WE_jT1^/
#include <fstream.h> //文件输入/输出 Q9-o$4#R[
#include <iomanip.h> //参数化输入/输出 Xz,-'
#include <iostream.h> //数据流输入/输出 >zYO1.~
#include <limits.h> //定义各种数据类型最值常量 NQ7j{dJ?
#include <locale.h> //定义本地化函数
gB\T[RV
#include <math.h> //定义数学函数 gw+9x<e
#include <stdio.h> //定义输入/输出函数 W$dn_9W
#include <stdlib.h> //定义杂项函数及内存分配函数 4@ILw
#include <string.h> //字符串处理 s"=6{EVqk3
#include <strstrea.h> //基于数组的输入/输出 [~W`E1,
#include <time.h> //定义关于时间的函数 ;;5Uwd'-
#include <wchar.h> //宽字符处理及输入/输出 A]`El8_t"
#include <wctype.h> //宽字符分类 ;vhyhP.oM
@/J[t
////////////////////////////////////////////////////////////////////////// R7oj#
F0~k1TDw
标准 C++ (同上的不再注释) e"-X U@`k1
+ww^ev%
#include <algorithm> //STL 通用算法 )/4(e?%=
#include <bitset> //STL 位集容器 qv
3^5d
#include <cctype> @#+jMV$g
#include <cerrno> N;F)jO
xsl
#include <clocale> Hx^!:kxk
#include <cmath> ocwG7J\W
#include <complex> //复数类 q^8EOAvnZ
#include <cstdio> fnzy5+9"
#include <cstdlib> 0X..e$ '
#include <cstring> PDx)S7+w[
#include <ctime> +5<k-0v
#include <deque> //STL 双端队列容器 C>^D*C(
#include <exception> //异常处理类 W!$zXwY}(
#include <fstream> TGT$ >/w >
#include <functional> //STL 定义运算函数(代替运算符) wbbqt0un
#include <limits> K5 3MMH[q#
#include <list> //STL 线性列表容器 u%|zc=
#include <map> //STL 映射容器 OQ/<-+<w
#include <iomanip> `znB7VQ0
#include <ios> //基本输入/输出支持 rt]S\
#include <iosfwd> //输入/输出系统使用的前置声明 3K/Df#
#include <iostream> c"YXxAJ
#include <istream> //基本输入流 oR+-+-??$
#include <ostream> //基本输出流 cl[!`Z
#include <queue> //STL 队列容器 fT:}Lj\L1
#include <set> //STL 集合容器 Dkw%`(Oh/,
#include <sstream> //基于字符串的流 1N`vCt]w
#include <stack> //STL 堆栈容器 a+41|)pt
#include <stdexcept> //标准异常类 \jW)Xy
#include <streambuf> //底层输入/输出支持 Q.-*7h8
#include <string> //字符串类 ! U0z"
#include <utility> //STL 通用模板类 "vF
MSY
#include <vector> //STL 动态数组容器 W-2i+g)
#include <cwchar> :LJ7ru2
#include <cwctype> 8Vl!|\x5
qV1O-^&[f=
using namespace std; >G)qns9
IFNWS,:
////////////////////////////////////////////////////////////////////////// {5:Zl<0
H>7dND2;
C99 增加 HB&
&
</oY4$ l'
#include <complex.h> //复数处理 C?m,ta3
#include <fenv.h> //浮点环境 <zB*'m
#include <inttypes.h> //整数格式转换 GKtS6$1d#
#include <stdbool.h> //布尔环境 -/{af
#include <stdint.h> //整型环境 ,TC~~EWq
#include <tgmath.h> //通用类型数学宏