C、传统 C++ G"]'`2.m
y7JJ[:~~
#include <assert.h> //设定插入点 _
._'\
#include <ctype.h> //字符处理 zrcSPh
#include <errno.h> //定义错误码 N]3XDd|q
#include <float.h> //浮点数处理 :0/I2:
#include <fstream.h> //文件输入/输出 nL9m{$Zv
#include <iomanip.h> //参数化输入/输出 92EvCtf
#include <iostream.h> //数据流输入/输出 YIfbcR5
#include <limits.h> //定义各种数据类型最值常量 C.eZcNJG
#include <locale.h> //定义本地化函数 qbjRw!2?w
#include <math.h> //定义数学函数 cOcm9m#
#include <stdio.h> //定义输入/输出函数 k7? (IU
#include <stdlib.h> //定义杂项函数及内存分配函数 "Mth<%i
#include <string.h> //字符串处理 uTQ/_$
#include <strstrea.h> //基于数组的输入/输出 ,Ao8QN
#include <time.h> //定义关于时间的函数 uXXwMc<p
#include <wchar.h> //宽字符处理及输入/输出 ZDlMkHJ
#include <wctype.h> //宽字符分类 {=TD^>?
vb# d%1b5
////////////////////////////////////////////////////////////////////////// h<[ o;E
6u7>S?
标准 C++ (同上的不再注释) "[76>\'H
mD tD7FzJ
#include <algorithm> //STL 通用算法 )!'SSVaRs
#include <bitset> //STL 位集容器 ;L|%H/SH
#include <cctype> L0}"H
.
#include <cerrno> Pl
U!-7
#include <clocale> Wcbb3N$+
#include <cmath> -rUn4a
#include <complex> //复数类 6#v"+V
#include <cstdio> Y<l{DmrsA
#include <cstdlib> $w{#o E
#include <cstring> 5TqX;=B
#include <ctime> jvA]EN6$;~
#include <deque> //STL 双端队列容器 VUk2pEGO.
#include <exception> //异常处理类 SBs_rhe
#include <fstream> Ygr1 S(=
#include <functional> //STL 定义运算函数(代替运算符) *G^QS"%
#include <limits> :`25@<*u
#include <list> //STL 线性列表容器 \f.ceh;!
#include <map> //STL 映射容器 ;kY'DKL(
#include <iomanip> IZ"d s=w
#include <ios> //基本输入/输出支持 ULj'DzlfH
#include <iosfwd> //输入/输出系统使用的前置声明 {'T=&`&OF
#include <iostream> f3h^R20qmO
#include <istream> //基本输入流 YQLp#
#include <ostream> //基本输出流
hT]\*},
#include <queue> //STL 队列容器 wS9EC}s:Q
#include <set> //STL 集合容器 yc?+L;fN
#include <sstream> //基于字符串的流 a!vF;J-Zqa
#include <stack> //STL 堆栈容器 A46Xei:Ow
#include <stdexcept> //标准异常类 n]jZ2{g+
#include <streambuf> //底层输入/输出支持 u?r=;:N|y
#include <string> //字符串类 sz9C':`W
#include <utility> //STL 通用模板类 h.(CAm%Y7
#include <vector> //STL 动态数组容器 q3<Pb,Z
#include <cwchar> Yjx*hv&?
#include <cwctype> zo4 IY`3
.-Yhpw>f
using namespace std; x 8|sdZFxo
[9Q}e;T
////////////////////////////////////////////////////////////////////////// E]/` JI'%
2|8e7q: +*
C99 增加 +zn&DG0\X
l.NV]up+
#include <complex.h> //复数处理 ))JbROBU,
#include <fenv.h> //浮点环境 c0h:Vqk-
#include <inttypes.h> //整数格式转换 ZUPlMHc
#include <stdbool.h> //布尔环境 V~([{
#include <stdint.h> //整型环境 JL.noV3q$
#include <tgmath.h> //通用类型数学宏