C、传统 C++ hHcJN
u3U4UK
#include <assert.h> //设定插入点 dZPW2yf
#include <ctype.h> //字符处理 x>}B#
#include <errno.h> //定义错误码 EJ1Bq>u7
#include <float.h> //浮点数处理 ARP KzF`Wq
#include <fstream.h> //文件输入/输出 10mK}HT>4B
#include <iomanip.h> //参数化输入/输出 7$!yfMttu
#include <iostream.h> //数据流输入/输出 z8IPhE@
#include <limits.h> //定义各种数据类型最值常量 kW#S]fsfU
#include <locale.h> //定义本地化函数 q[-|ZA bbr
#include <math.h> //定义数学函数 ]JH64~a
#include <stdio.h> //定义输入/输出函数 YPu9Q
#include <stdlib.h> //定义杂项函数及内存分配函数 ?N:B
#include <string.h> //字符串处理 {S G*
#include <strstrea.h> //基于数组的输入/输出 *D2Nm9sl
#include <time.h> //定义关于时间的函数 +}P%HH]E/p
#include <wchar.h> //宽字符处理及输入/输出 v2d<o[[C
#include <wctype.h> //宽字符分类 ?-pi,O~(p
BWWq4mdb{
////////////////////////////////////////////////////////////////////////// zG_p"Z7,
_}D%iJg#
标准 C++ (同上的不再注释) KE<kj$
aSel*
L
#include <algorithm> //STL 通用算法 aYqm0HCT
#include <bitset> //STL 位集容器 :pRF*^eU
#include <cctype> "u_i[[y
#include <cerrno> m+?N7
#include <clocale> 5L F/5`
#include <cmath> 2gt+l?O<PS
#include <complex> //复数类 ^EF'TO$
#include <cstdio> $*k)|4
#include <cstdlib> nP<S6:s:
#include <cstring> K}x_nW
#include <ctime> 1pK6=-3w3
#include <deque> //STL 双端队列容器 _3/ec]1
#include <exception> //异常处理类 Jm4#V~w
#include <fstream> ;J]25j]]
#include <functional> //STL 定义运算函数(代替运算符) NetYg]8`
#include <limits> ^=^$tF
#include <list> //STL 线性列表容器 %,/lqc Fo
#include <map> //STL 映射容器 N>0LQ
MI
#include <iomanip> jo}1u_OJ
#include <ios> //基本输入/输出支持 .jA\f:u#
#include <iosfwd> //输入/输出系统使用的前置声明 Z^+rQ.%n"&
#include <iostream> joqWh!kv7U
#include <istream> //基本输入流 pE2QnNr'
#include <ostream> //基本输出流 D?^Y`G$.
#include <queue> //STL 队列容器 4jQ'+ 2it
#include <set> //STL 集合容器 61} i5o
#include <sstream> //基于字符串的流 /t*YDWLg
#include <stack> //STL 堆栈容器 WfZF~$li`
#include <stdexcept> //标准异常类 OiF{3ae(
#include <streambuf> //底层输入/输出支持 i\)3l%AK]T
#include <string> //字符串类 =Q-k'= 6\
#include <utility> //STL 通用模板类 Di> rO038
#include <vector> //STL 动态数组容器 2:Q(Gl`<l
#include <cwchar> qy
,"X)^#
#include <cwctype> kx:jI^
?R|th Z
using namespace std; /4*W DiH
vg)Z]F=t(
////////////////////////////////////////////////////////////////////////// :=*}htP4C
~M5:=zKQ
C99 增加 %m eLW&
?DPHo)w
#include <complex.h> //复数处理 eCWPhB6l
#include <fenv.h> //浮点环境 dQD$K|aUp
#include <inttypes.h> //整数格式转换 : lgi>^
#include <stdbool.h> //布尔环境 IxOc':/jY
#include <stdint.h> //整型环境 )1lu=gc
#include <tgmath.h> //通用类型数学宏