C、传统 C++ E*IP#:R
]1pB7XL
#include <assert.h> //设定插入点
]G
D`
f
#include <ctype.h> //字符处理 2[;~@n1P
#include <errno.h> //定义错误码 ,p#r; O<O
#include <float.h> //浮点数处理 o@7U4#E
#include <fstream.h> //文件输入/输出 c%bzrYQvA;
#include <iomanip.h> //参数化输入/输出 6B*#D.fd*
#include <iostream.h> //数据流输入/输出 Ndmw/ae
#include <limits.h> //定义各种数据类型最值常量 T"aE]4_
#include <locale.h> //定义本地化函数 w0+X;aId
#include <math.h> //定义数学函数 a4gX@&it_k
#include <stdio.h> //定义输入/输出函数 AWE ab
#include <stdlib.h> //定义杂项函数及内存分配函数 awI{%u_(nA
#include <string.h> //字符串处理 CUHT5J*sY
#include <strstrea.h> //基于数组的输入/输出 "Zx<hL*
#include <time.h> //定义关于时间的函数 6(BgnH8oc
#include <wchar.h> //宽字符处理及输入/输出 ^}{x).
#include <wctype.h> //宽字符分类 #@xB ?u-0q
G%,
RD}D
////////////////////////////////////////////////////////////////////////// z[ 'G"yCi
$PI9vyS
标准 C++ (同上的不再注释) YRCs&tgs
mU~&oU
#include <algorithm> //STL 通用算法 N'-[>w7vK2
#include <bitset> //STL 位集容器 U$<"
.q
#include <cctype> &r~s3S{pQ
#include <cerrno> QQ_7Q^
#include <clocale> c/ih%xR
#include <cmath> h5pfmN\-5
#include <complex> //复数类 sei2\l8q
#include <cstdio> PEm2w#X%L
#include <cstdlib> u1Slu%^e
#include <cstring> R&BWCC{
#include <ctime> d=n{Wn{C
#include <deque> //STL 双端队列容器 b$%Kv(
#include <exception> //异常处理类 E4>}O;m0
#include <fstream> qv}ECQ
#include <functional> //STL 定义运算函数(代替运算符) &oq0XV.M^
#include <limits> ><Zu+HX
#include <list> //STL 线性列表容器 w^ OB
#include <map> //STL 映射容器 096Yd=3h
#include <iomanip> H1 7I"5N
#include <ios> //基本输入/输出支持 xb<|m2<)H
#include <iosfwd> //输入/输出系统使用的前置声明 1DhC,)+D}q
#include <iostream> d6ef)mw
#include <istream> //基本输入流 _ilitwRN3
#include <ostream> //基本输出流 UAT\ .
#include <queue> //STL 队列容器 9cUa@;*1
#include <set> //STL 集合容器 $A-X3d;'\/
#include <sstream> //基于字符串的流 tpC^68*F
#include <stack> //STL 堆栈容器 V=dOeuYd
#include <stdexcept> //标准异常类 g2m*Q%
#include <streambuf> //底层输入/输出支持 0 p?AL=
#include <string> //字符串类 lux
g1>
#include <utility> //STL 通用模板类 @fJsRWvGq
#include <vector> //STL 动态数组容器 R ZQH#+*t}
#include <cwchar> 80_w_i +
#include <cwctype> *4Ldh}S!
16Jq*hKU
using namespace std; 5lJL[{
ooUVVp
////////////////////////////////////////////////////////////////////////// Su"Z3gm5Kw
9Dgs
A`{$
C99 增加 "C\yM{JZ
FRZ]E)9Z]b
#include <complex.h> //复数处理 l>b'b e9
#include <fenv.h> //浮点环境 .=TXi<8Brw
#include <inttypes.h> //整数格式转换 r A(A$VR
#include <stdbool.h> //布尔环境 "mQcc}8
#include <stdint.h> //整型环境 :;yrYAyT3
#include <tgmath.h> //通用类型数学宏