C、传统 C++ rU2%dkTa
ck.w
5|$
#include <assert.h> //设定插入点 !>zo_fP
#include <ctype.h> //字符处理 4'!c*@Y
#include <errno.h> //定义错误码 ?C&z]f3(:
#include <float.h> //浮点数处理 K0}pi+=
#include <fstream.h> //文件输入/输出 \<y#R~7s
#include <iomanip.h> //参数化输入/输出 ?MgUY)X
#include <iostream.h> //数据流输入/输出 \\u<S=G
#include <limits.h> //定义各种数据类型最值常量 S&b*rA02zp
#include <locale.h> //定义本地化函数 \4-"L>
#include <math.h> //定义数学函数 OeS\7
#include <stdio.h> //定义输入/输出函数
ng_^
#include <stdlib.h> //定义杂项函数及内存分配函数 LYaZ1*
#include <string.h> //字符串处理 /oR<A
#include <strstrea.h> //基于数组的输入/输出 %0,#ADCqOe
#include <time.h> //定义关于时间的函数 R}4So1
#include <wchar.h> //宽字符处理及输入/输出 2IKnhBSV3
#include <wctype.h> //宽字符分类 A .EbXo/
TiO"xMX
////////////////////////////////////////////////////////////////////////// jN6uT&{T
~==>pj
标准 C++ (同上的不再注释) @EnuJe
n=c
2Kc
#include <algorithm> //STL 通用算法 P#XID 2;
#include <bitset> //STL 位集容器 O]1y0BOQ
#include <cctype> * Of4o
#include <cerrno> Z`KC%!8K
#include <clocale> Nz],IG.
#include <cmath> f-E("o
#include <complex> //复数类 t 0|!(3
#include <cstdio> oIb|*gX^
#include <cstdlib> Vc2A
#include <cstring> n3D;"a3
#include <ctime> d[V;&U
#include <deque> //STL 双端队列容器 o8-^cP1
#include <exception> //异常处理类 LS88.w\=S@
#include <fstream> Zy(W^~NT
#include <functional> //STL 定义运算函数(代替运算符) f v9V7
#include <limits> ]2\VweV
#include <list> //STL 线性列表容器 79xx2
#include <map> //STL 映射容器 EodQ*{l
#include <iomanip> '{V0M<O
#include <ios> //基本输入/输出支持 ?Vf o+a,
#include <iosfwd> //输入/输出系统使用的前置声明 N=QfP
#include <iostream> Y!gCMLL
#include <istream> //基本输入流 b7wvaRe.
#include <ostream> //基本输出流 V&\[)D'c
#include <queue> //STL 队列容器 +(1zH-^.
#include <set> //STL 集合容器 )XzI
#iQ
#include <sstream> //基于字符串的流 X .5aMm
#include <stack> //STL 堆栈容器 fvF?{k> ~}
#include <stdexcept> //标准异常类 ( 8c9 /7h
#include <streambuf> //底层输入/输出支持 +L9Eqll
#include <string> //字符串类 P%(O|
#include <utility> //STL 通用模板类 ZfgJ.<<
#include <vector> //STL 动态数组容器
s8rE$
#include <cwchar> $}jssnoU
#include <cwctype> YtfVD7m
<F=xtyl7
using namespace std; Gch[Otq]%
lo,$-bJ,<,
////////////////////////////////////////////////////////////////////////// h_T7% #0
%]8qAtV^3j
C99 增加 %+K<<iyR|
|>JS!NM
I
#include <complex.h> //复数处理 Wu_kx2h
#include <fenv.h> //浮点环境 9)gC6IiW
#include <inttypes.h> //整数格式转换 L G1r]2
#include <stdbool.h> //布尔环境 )Hk3A$6(
#include <stdint.h> //整型环境 Hr]h
Jc
#include <tgmath.h> //通用类型数学宏