C、传统 C++ T_6,o[b8
Mp?Ev.
#include <assert.h> //设定插入点 /-E>5 w U
#include <ctype.h> //字符处理 9+@_ZI-
#include <errno.h> //定义错误码
}CaL:kY8
#include <float.h> //浮点数处理 a~OCo
#include <fstream.h> //文件输入/输出 P\iw[m7O
#include <iomanip.h> //参数化输入/输出 )<DL'
#include <iostream.h> //数据流输入/输出 ?F*gFW_k
#include <limits.h> //定义各种数据类型最值常量 ~Ht[kO
#include <locale.h> //定义本地化函数 &xr?yd
#include <math.h> //定义数学函数 WXNJc
#include <stdio.h> //定义输入/输出函数 HCb7`(@
#include <stdlib.h> //定义杂项函数及内存分配函数 ^O#,%>1J
#include <string.h> //字符串处理 U?>P6p
#include <strstrea.h> //基于数组的输入/输出 (o{QSk\
#include <time.h> //定义关于时间的函数 \`{ YqO T
#include <wchar.h> //宽字符处理及输入/输出 #1z}~1-
#include <wctype.h> //宽字符分类 E~2}rK+#)
%whPTc0P
////////////////////////////////////////////////////////////////////////// 9g"a`a?c
vBj{bnl
标准 C++ (同上的不再注释) [rU8%
Kx*;!3-V$
#include <algorithm> //STL 通用算法 p4<&N MG
#include <bitset> //STL 位集容器 fcr\XCG7U
#include <cctype> fbNVmjb$)
#include <cerrno> &kXf)xc<~
#include <clocale> @]WN|K
#include <cmath> @luv;X^%
#include <complex> //复数类 n1DD+@
#include <cstdio> U;;vNzcn
#include <cstdlib>
Rla1,{1
#include <cstring> 1P3^il7
#include <ctime> h:"<x$F
#include <deque> //STL 双端队列容器 .2!'6;K
#include <exception> //异常处理类 76}
N/C
#include <fstream> 65=i`!f
#include <functional> //STL 定义运算函数(代替运算符) q3T'rw%Eh
#include <limits> xlqRW"
#include <list> //STL 线性列表容器 MCe=R R
#include <map> //STL 映射容器 a[xEN7L~4D
#include <iomanip> n:`> QY
#include <ios> //基本输入/输出支持 \W(C=e
#include <iosfwd> //输入/输出系统使用的前置声明 G~8C7$0z
#include <iostream> }c|Xr^
#include <istream> //基本输入流 GasIOPzK
#include <ostream> //基本输出流 |6"zIHvtc
#include <queue> //STL 队列容器 pUYa1 =
#include <set> //STL 集合容器 m-5Dbx!j
#include <sstream> //基于字符串的流 -HP [IJP
#include <stack> //STL 堆栈容器 P`Anf_
#include <stdexcept> //标准异常类 -"\z|OQ
#include <streambuf> //底层输入/输出支持 t 4{{5U'\
#include <string> //字符串类 JDD(e_dw
#include <utility> //STL 通用模板类 K)sO
#include <vector> //STL 动态数组容器 _Wk!d3bsx
#include <cwchar> "[BuQ0(g
#include <cwctype> w \i#
[jeZZB
using namespace std; . AWRe1?
bMxzJRrNg
////////////////////////////////////////////////////////////////////////// (VWTYG7
4 rw<C07Z
C99 增加 }PK8[N
g(,gg1mG
#include <complex.h> //复数处理 1$q SbQ
#include <fenv.h> //浮点环境 06]J]
#include <inttypes.h> //整数格式转换 Hp8)-eT
#include <stdbool.h> //布尔环境 Z[FSy-;"
#include <stdint.h> //整型环境 UKZsq5Q
#include <tgmath.h> //通用类型数学宏