C、传统 C++ Af _yb`W?
^N_ ?&pgy
#include <assert.h> //设定插入点 >@NGX-gp
#include <ctype.h> //字符处理 4w-P%-4
#include <errno.h> //定义错误码 p-;I"uKv
#include <float.h> //浮点数处理 +XN/ bT
#include <fstream.h> //文件输入/输出 U:o(%dk
#include <iomanip.h> //参数化输入/输出 A('_.J=
#include <iostream.h> //数据流输入/输出 bp?4)C*R
#include <limits.h> //定义各种数据类型最值常量 .kkrU
#include <locale.h> //定义本地化函数 Jv9yy~
#include <math.h> //定义数学函数 i VIpe
#include <stdio.h> //定义输入/输出函数 X6g{qz Hg_
#include <stdlib.h> //定义杂项函数及内存分配函数 l&1R`g cW
#include <string.h> //字符串处理 JHZ`LWq
#include <strstrea.h> //基于数组的输入/输出 geB]~/-p
#include <time.h> //定义关于时间的函数 %;{Ro)03
#include <wchar.h> //宽字符处理及输入/输出 e+=P)Zp/
#include <wctype.h> //宽字符分类 4(FEfde=
gr
y]!4Hy
////////////////////////////////////////////////////////////////////////// #b?)fqRJL
zgh~P^Z
标准 C++ (同上的不再注释) O A9G]
8k
-N]%)Hy
#include <algorithm> //STL 通用算法 =`MU*Arcs[
#include <bitset> //STL 位集容器 HQOz
#include <cctype> rWo&I_{
#include <cerrno> B Ctm05
#include <clocale>
=(Ll}V ,
#include <cmath> z1u1%FwOfM
#include <complex> //复数类 eQvdi|6
#include <cstdio> (ug^2WG
Yq
#include <cstdlib> %[9d1F3
#include <cstring> )KPQ8y!d
#include <ctime> 4dwG6-
#include <deque> //STL 双端队列容器 .}.63T$h9
#include <exception> //异常处理类 (;o/2Q?
#include <fstream> 8={"j
#include <functional> //STL 定义运算函数(代替运算符) fq2t^c|$
#include <limits> T+y3Ph--^
#include <list> //STL 线性列表容器 -Ob89Z?2A
#include <map> //STL 映射容器 @a{1vT9b
#include <iomanip> )ZA3m_w]
#include <ios> //基本输入/输出支持 v3vQfcxR
#include <iosfwd> //输入/输出系统使用的前置声明
Kq*D_Rh2
#include <iostream> *&VqAc%qD
#include <istream> //基本输入流 &>.
w*
#include <ostream> //基本输出流 aMaFxEW
#include <queue> //STL 队列容器 R} #6
#include <set> //STL 集合容器 n
7Bua
#include <sstream> //基于字符串的流 =U_WrY<F
#include <stack> //STL 堆栈容器 9.
7XRxR^
#include <stdexcept> //标准异常类 )K0BH q7r
#include <streambuf> //底层输入/输出支持 |rDv!m
#include <string> //字符串类 mz~aSbb|
#include <utility> //STL 通用模板类 pg%'_+$~m
#include <vector> //STL 动态数组容器 eaI!}#>R+
#include <cwchar> )+nY-DB(
#include <cwctype> .Y"H{|]Mnh
'L"dM9#>
using namespace std; E9L)dMZSpj
UaQR0,#0y
////////////////////////////////////////////////////////////////////////// N<\U$\i
SbLx`]rI
C99 增加 Yb<t~jm
BWbM$@'x
#include <complex.h> //复数处理 DhL]\
4
#include <fenv.h> //浮点环境 5+gSpg]i
#include <inttypes.h> //整数格式转换 %S<0l@=5`l
#include <stdbool.h> //布尔环境 lUR7zrwJ]o
#include <stdint.h> //整型环境 Q599@5aS
#include <tgmath.h> //通用类型数学宏