C、传统 C++ '9 'l=Sh
B9YsA?hg
#include <assert.h> //设定插入点 5gSylts8
#include <ctype.h> //字符处理 34z_+
#include <errno.h> //定义错误码 "\7 v
#include <float.h> //浮点数处理 G@9u:\[l
#include <fstream.h> //文件输入/输出 5B1G?`]?
#include <iomanip.h> //参数化输入/输出 NeHx2m+
#include <iostream.h> //数据流输入/输出 BYS lKTh
#include <limits.h> //定义各种数据类型最值常量 P^"R4T
#include <locale.h> //定义本地化函数 M ~als3
#include <math.h> //定义数学函数 RoX
&+~
#include <stdio.h> //定义输入/输出函数 RL6Vkd?
#include <stdlib.h> //定义杂项函数及内存分配函数 4AQ[igTDP
#include <string.h> //字符串处理 auRY|j
#include <strstrea.h> //基于数组的输入/输出 y`4{!CEyLW
#include <time.h> //定义关于时间的函数 ;> DHD*3X
#include <wchar.h> //宽字符处理及输入/输出 }<=3W5+
#include <wctype.h> //宽字符分类 W]_g4,T>
rOW;yJ[
////////////////////////////////////////////////////////////////////////// Kv}k*A% S
%MN.O-Lc
标准 C++ (同上的不再注释) W@^J6sH
fe|g3>/|
#include <algorithm> //STL 通用算法 >:2}V]/;
#include <bitset> //STL 位集容器 $0#6"urG
#include <cctype> h}h^L+4
#include <cerrno> t)} \9^Uo
#include <clocale> |=O1Hn
#include <cmath> R"Kz!NTB
#include <complex> //复数类 '@bJlJB9>
#include <cstdio> '99@=3AB:`
#include <cstdlib> GzdRG^vN
#include <cstring> fYB*6Xb,w
#include <ctime> .$Y?
W<
#include <deque> //STL 双端队列容器 oE1M/*myS
#include <exception> //异常处理类 {SJsA)9:#
#include <fstream> )B ;M
#include <functional> //STL 定义运算函数(代替运算符) i
E9\_MA
#include <limits> m<{"}4'
#include <list> //STL 线性列表容器 +Qs!Nhsq
#include <map> //STL 映射容器 _42Z={pZZq
#include <iomanip> b,Ke>.m
#include <ios> //基本输入/输出支持 hk_g2g
#include <iosfwd> //输入/输出系统使用的前置声明 0oSQY[ht/
#include <iostream> L6+C]t}>6
#include <istream> //基本输入流 d`Oe_<
#include <ostream> //基本输出流 (9]6bd
#include <queue> //STL 队列容器 4z_n4=
#include <set> //STL 集合容器 @r<b:?u
#include <sstream> //基于字符串的流 =WK04\H
#include <stack> //STL 堆栈容器 e[{mVhg4E
#include <stdexcept> //标准异常类 'w.}2(
#include <streambuf> //底层输入/输出支持 ,hWcytzEw
#include <string> //字符串类 =IZ[_ /@
#include <utility> //STL 通用模板类 RBE7485
#include <vector> //STL 动态数组容器 cKjRF6w
#include <cwchar> pDn&V(
#include <cwctype> ,[X_]e;
J4>;[\%m
using namespace std; K(VW%hV1
d2~l4IL)~
////////////////////////////////////////////////////////////////////////// _R^y\1Qu
ARF\fF|<2
C99 增加 1k[GuG%/K
\}#@9=
#include <complex.h> //复数处理 vk'rA{x
#include <fenv.h> //浮点环境 8eJE>g1J
#include <inttypes.h> //整数格式转换 Y5Z!og
#include <stdbool.h> //布尔环境 #!})3_Qc(y
#include <stdint.h> //整型环境 ^=+e?F`:{
#include <tgmath.h> //通用类型数学宏