C、传统 C++ P[P72WR
IK? $!jh
#include <assert.h> //设定插入点 UlN|Oy,
#include <ctype.h> //字符处理 Sd{"A0[A|
#include <errno.h> //定义错误码 Isgk
#include <float.h> //浮点数处理 *pC-`k
#include <fstream.h> //文件输入/输出 Q|<?$.FN"8
#include <iomanip.h> //参数化输入/输出 VaIP
#include <iostream.h> //数据流输入/输出 K
y4y
#include <limits.h> //定义各种数据类型最值常量 S2
h
#include <locale.h> //定义本地化函数 ;Kq?*H
#include <math.h> //定义数学函数 -Us% g
#include <stdio.h> //定义输入/输出函数 }~CZqIP
#include <stdlib.h> //定义杂项函数及内存分配函数 x0;}b-f
#include <string.h> //字符串处理 T\s#-f[x
#include <strstrea.h> //基于数组的输入/输出 ;yER
V
#include <time.h> //定义关于时间的函数 ^-;Z8M
#include <wchar.h> //宽字符处理及输入/输出 XXwhs-:o
#include <wctype.h> //宽字符分类 q
vVZA*
x71!r
////////////////////////////////////////////////////////////////////////// Xsn - +e
gwz _b
标准 C++ (同上的不再注释) udy;Odt
q4ko}jn
#include <algorithm> //STL 通用算法 %dU'$)
#include <bitset> //STL 位集容器 =+=|{l?F
#include <cctype> RH4n0=2
#include <cerrno> DJ[#H
#include <clocale> U(]5U^
#include <cmath> +;iesULXn
#include <complex> //复数类 :(p
rx
#include <cstdio> :*+BBC
#include <cstdlib> .F3LA6se
#include <cstring> zPkPC}f(O
#include <ctime> fvM3.P
#include <deque> //STL 双端队列容器 }R5&[hxh4t
#include <exception> //异常处理类 Odtck9L
#include <fstream> ,k! f`
#include <functional> //STL 定义运算函数(代替运算符) %R"/`N9R,
#include <limits> yaYt/?|
#include <list> //STL 线性列表容器 q.QYn.CBZz
#include <map> //STL 映射容器 Iw|[*Nu-
#include <iomanip> GO3YXO33
#include <ios> //基本输入/输出支持 HPdwx
V
#include <iosfwd> //输入/输出系统使用的前置声明 y8S6ZtA}2
#include <iostream> GXK?7S0H
#include <istream> //基本输入流 &&S4x
#include <ostream> //基本输出流 FH21m wV
#include <queue> //STL 队列容器 ;f^jB;\<
#include <set> //STL 集合容器 9k^=m)yS'
#include <sstream> //基于字符串的流 iC+H;s5<
#include <stack> //STL 堆栈容器 o5x^ "#
#include <stdexcept> //标准异常类 /0B?3&H
#include <streambuf> //底层输入/输出支持 a&VJYAB
#include <string> //字符串类 OYp8r
#include <utility> //STL 通用模板类 fDHISJv
#include <vector> //STL 动态数组容器 `gs,JJ6N
#include <cwchar> Ru aJ9O
#include <cwctype> ?8}jJw2H
F^G`Jf
using namespace std; DmPsltpzQ
H&IP>8Dk
////////////////////////////////////////////////////////////////////////// :Qp/3(g e
v~cW:I
C99 增加 (4{9
QO
G&3<rT3Ib
#include <complex.h> //复数处理 1CVaGD^r{
#include <fenv.h> //浮点环境 r3vj o(
#include <inttypes.h> //整数格式转换 =F[,-B~
#include <stdbool.h> //布尔环境 2=M!lB
*
#include <stdint.h> //整型环境 =~m"TQv
#include <tgmath.h> //通用类型数学宏