C、传统 C++ (R^X3
>1luLp/,$
#include <assert.h> //设定插入点 ;ED` 7
#include <ctype.h> //字符处理 JmlMfMpXMs
#include <errno.h> //定义错误码 /j%(Z/RM
#include <float.h> //浮点数处理 9R$0[HbI3
#include <fstream.h> //文件输入/输出 QX`Qnk|Y
#include <iomanip.h> //参数化输入/输出 hb@,fgo!Q
#include <iostream.h> //数据流输入/输出 .8[*`%K>
#include <limits.h> //定义各种数据类型最值常量 tZ|0wPp
#include <locale.h> //定义本地化函数 )wT@`p"4
#include <math.h> //定义数学函数 n{'LF #4l
#include <stdio.h> //定义输入/输出函数 vH14%&OcN
#include <stdlib.h> //定义杂项函数及内存分配函数 );*:UzsC_
#include <string.h> //字符串处理 FYe#x]ue
#include <strstrea.h> //基于数组的输入/输出 05
56#U&>
#include <time.h> //定义关于时间的函数 R*PR21g
#include <wchar.h> //宽字符处理及输入/输出 E}-Y!,v^
#include <wctype.h> //宽字符分类 j >pv@D
LT+QW
////////////////////////////////////////////////////////////////////////// =(]yl_
s}w?Dvo \
标准 C++ (同上的不再注释) AN)exU ?
B h<DqN
#include <algorithm> //STL 通用算法 _m0B6?KJ
#include <bitset> //STL 位集容器 \3K%>
#include <cctype> *z?Vy<u G
#include <cerrno> P|U9f6^3
#include <clocale> Xg<R+o
#include <cmath> 7bk=D~/nSg
#include <complex> //复数类 N$&)gI:
#include <cstdio> T( LlNq
#include <cstdlib> u7>{#]
#include <cstring> k`aHG8S\
#include <ctime> #E`wqI\'
#include <deque> //STL 双端队列容器 Ec3TY<mVr
#include <exception> //异常处理类 #!yW)RG
#include <fstream> o57r ,`N
#include <functional> //STL 定义运算函数(代替运算符) pDYcsC{p
#include <limits> rf\/Y"D
#include <list> //STL 线性列表容器 Kg8n3pLAX
#include <map> //STL 映射容器 d@b" ~r}
#include <iomanip> A!GQ4.~%
#include <ios> //基本输入/输出支持 k[ZkVwx
#include <iosfwd> //输入/输出系统使用的前置声明 hiT&QJB` _
#include <iostream> 4CH/~b1(
#include <istream> //基本输入流 .:wo
ARW!
#include <ostream> //基本输出流 W)~}o<a)[
#include <queue> //STL 队列容器 7cMHzhk^
#include <set> //STL 集合容器 m7$t$/g
#include <sstream> //基于字符串的流 Gf<f#.5y
,
#include <stack> //STL 堆栈容器 eVRPjVzQ'Q
#include <stdexcept> //标准异常类 h85kQ^%
#include <streambuf> //底层输入/输出支持 ov$S
#include <string> //字符串类 wk9qyv<
#include <utility> //STL 通用模板类 z79c30y]"
#include <vector> //STL 动态数组容器 j3t,Cx
#include <cwchar> _48@o^{
#include <cwctype> Y[~Dj@Q<
zm~sq_=^
using namespace std; |#i|BVnoE
<>71;%e;'
////////////////////////////////////////////////////////////////////////// +eUWf{(_
fVvB8[(;~
C99 增加 K| w\KX0
;${_eab]
#include <complex.h> //复数处理 pP|LSrY!
#include <fenv.h> //浮点环境 A6S|pO1)3
#include <inttypes.h> //整数格式转换 4NK{RN3
#include <stdbool.h> //布尔环境 \2#j1/d4
#include <stdint.h> //整型环境 l>D!@`><I
#include <tgmath.h> //通用类型数学宏