C、传统 C++ Ga#5xAI{a
u8i!Fxu
#include <assert.h> //设定插入点 -jQMh
#include <ctype.h> //字符处理 72{Ce7J4
#include <errno.h> //定义错误码
V/,F6
#include <float.h> //浮点数处理 N3QDPQ
#include <fstream.h> //文件输入/输出 *Bm
_
#include <iomanip.h> //参数化输入/输出 t7qY!S (
#include <iostream.h> //数据流输入/输出 8UN7(J
#include <limits.h> //定义各种数据类型最值常量 I`FqZw
#include <locale.h> //定义本地化函数 QcG-/_,'}
#include <math.h> //定义数学函数 }2~$"L,_
#include <stdio.h> //定义输入/输出函数 7C@%1kL
#include <stdlib.h> //定义杂项函数及内存分配函数 0GP\*Y8
#include <string.h> //字符串处理 "jMSF@lr
#include <strstrea.h> //基于数组的输入/输出 qA5PIEvdq
#include <time.h> //定义关于时间的函数 Ij9ezNZT=
#include <wchar.h> //宽字符处理及输入/输出 %[H|3
#include <wctype.h> //宽字符分类 a\?-uJ+
4-veO3&.h
////////////////////////////////////////////////////////////////////////// b1ma(8{{{
3"y,UtKGa
标准 C++ (同上的不再注释) Ht=h9}x"g
S[5e,Ew
#include <algorithm> //STL 通用算法 `hE@S |4
#include <bitset> //STL 位集容器 ^
woCwW8n
#include <cctype> pLea 4
#include <cerrno> wwD?i.3
#include <clocale> P\2UIAPa\b
#include <cmath> LyWgaf#/d
#include <complex> //复数类 $%BNoSK
#include <cstdio> hqVxvS"
#include <cstdlib> E-J<%+
#include <cstring> pu?D^h9/
#include <ctime> nN$aZSb`
#include <deque> //STL 双端队列容器 '\I!RAZ
#include <exception> //异常处理类 urA
kV#d#
#include <fstream> i"J`$u
#include <functional> //STL 定义运算函数(代替运算符) ym.:I@b?6
#include <limits> j$jgEtPK9=
#include <list> //STL 线性列表容器 2UJjYrm
#include <map> //STL 映射容器 )7}f.
#include <iomanip> >* >}d%
#include <ios> //基本输入/输出支持 RDWUy(iX
#include <iosfwd> //输入/输出系统使用的前置声明 |v31weD8
#include <iostream> t1MK5B5jH
#include <istream> //基本输入流 B #zU'G*Y
#include <ostream> //基本输出流 MiB}10
#include <queue> //STL 队列容器 KR sY `[Y
#include <set> //STL 集合容器 g;G]Xi.B}
#include <sstream> //基于字符串的流 "0]s|ys6<
#include <stack> //STL 堆栈容器 \:@yfI@
#include <stdexcept> //标准异常类 HH3Ln+AWg_
#include <streambuf> //底层输入/输出支持 7ajkp+E6
#include <string> //字符串类 WG=~GDS>
#include <utility> //STL 通用模板类 Vp
j[)W%L
#include <vector> //STL 动态数组容器 A-om?$7
#include <cwchar> + Ssu^>D
#include <cwctype> n+9rx]W,
r}Ec_0_lt
using namespace std; @_4E^KgF
6
r}R%{
////////////////////////////////////////////////////////////////////////// \4 5%K|
@dx$&;w
C99 增加 C])b 3tM,7
m6
@,J?X
#include <complex.h> //复数处理 z6>Rv9f
#include <fenv.h> //浮点环境 Dj(!i1eQNZ
#include <inttypes.h> //整数格式转换 _m2p>(N|
#include <stdbool.h> //布尔环境 AIX?840V
#include <stdint.h> //整型环境 "{"745H5
#include <tgmath.h> //通用类型数学宏