C、传统 C++ yV xR||e
)G6]r$M>o0
#include <assert.h> //设定插入点 H3.WAg[`
#include <ctype.h> //字符处理 $2^V#GWo
#include <errno.h> //定义错误码 *Df|D/,WE
#include <float.h> //浮点数处理 Y1
i!
#include <fstream.h> //文件输入/输出 i)0*J?l=
#include <iomanip.h> //参数化输入/输出 'PlKCn`(w
#include <iostream.h> //数据流输入/输出 nYuZg6K
#include <limits.h> //定义各种数据类型最值常量 jK&kQ
#include <locale.h> //定义本地化函数 mLO{~ruu
#include <math.h> //定义数学函数 IrXC/?^h
#include <stdio.h> //定义输入/输出函数 n\ma5"n0=\
#include <stdlib.h> //定义杂项函数及内存分配函数 Y:VM5r)
#include <string.h> //字符串处理 I/GZ
#include <strstrea.h> //基于数组的输入/输出 %f@VOSs
#include <time.h> //定义关于时间的函数 &,fBg6A%
#include <wchar.h> //宽字符处理及输入/输出 Z$,1Tk"O/s
#include <wctype.h> //宽字符分类 SF;;4og
8jjJ/Mz`
////////////////////////////////////////////////////////////////////////// -{ZTp8P>
r&\}E+
标准 C++ (同上的不再注释) +gOCl*L
KTk%Np
#include <algorithm> //STL 通用算法 =? x A*_^
#include <bitset> //STL 位集容器 { >Y< !
#include <cctype>
c*_I1}l
#include <cerrno> _-Aw`<_*-
#include <clocale> fZXJPy;n
#include <cmath> ?/{
qRz'C<
#include <complex> //复数类 xGqe )M>8?
#include <cstdio> a'Qy]P}'Ug
#include <cstdlib> q01zN:|-1
#include <cstring> /PIU@$DV
#include <ctime> A"C%.InZ
#include <deque> //STL 双端队列容器 k-T_,1l{
#include <exception> //异常处理类 \nx^=4*yk
#include <fstream> Xt8;Pl
#include <functional> //STL 定义运算函数(代替运算符) 1(!!EcU_
#include <limits> Uz H)fB
#include <list> //STL 线性列表容器 gW6lMyiLb
#include <map> //STL 映射容器 KI$?0O
#include <iomanip> |zvxKIW;wd
#include <ios> //基本输入/输出支持 y3$'
gu|
#include <iosfwd> //输入/输出系统使用的前置声明 \x x<\8Qr_
#include <iostream> 5D]%E?ag
#include <istream> //基本输入流 ~/\;7E{8!
#include <ostream> //基本输出流 9GkG'
#include <queue> //STL 队列容器 s iv
KXd
#include <set> //STL 集合容器 .$4DK*
#include <sstream> //基于字符串的流 5<a)SP 0
#include <stack> //STL 堆栈容器 J
C1T033 r
#include <stdexcept> //标准异常类 Os8]iNvW\
#include <streambuf> //底层输入/输出支持 8R:H{)o~s}
#include <string> //字符串类 pp#Kb 2*
#include <utility> //STL 通用模板类 w]) bQ7)
#include <vector> //STL 动态数组容器 gA!-F}x$
#include <cwchar> F)_Rs5V:(
#include <cwctype> Ajq;\-:
t22BO@gt74
using namespace std; \Ul*Nsw
akBR"y:~:H
////////////////////////////////////////////////////////////////////////// rEdr8qw
rem&F'x0V
C99 增加 *u7C){)gr[
p0$K.f|
^
#include <complex.h> //复数处理 B{/Pv0y
#include <fenv.h> //浮点环境 \9i.dF
#include <inttypes.h> //整数格式转换 klUxt?-
#include <stdbool.h> //布尔环境 !U,qr0h
#include <stdint.h> //整型环境 q&Q* gEFK
#include <tgmath.h> //通用类型数学宏