C、传统 C++ P3a]*> .,
b;vVlIG
#include <assert.h> //设定插入点 2>J;P C[;
#include <ctype.h> //字符处理 XfEp_.~JM
#include <errno.h> //定义错误码 y+7+({w<
#include <float.h> //浮点数处理 R+U*]5~R
#include <fstream.h> //文件输入/输出 U(~Nmo'
#include <iomanip.h> //参数化输入/输出 ,#^2t_c/
#include <iostream.h> //数据流输入/输出 /L]@k`.q@
#include <limits.h> //定义各种数据类型最值常量 E=bZ4 /
#include <locale.h> //定义本地化函数 n(n7"+B
#include <math.h> //定义数学函数 #!m^EqF1_
#include <stdio.h> //定义输入/输出函数 *uxKI:rB:
#include <stdlib.h> //定义杂项函数及内存分配函数 Y_XRf8Sw
#include <string.h> //字符串处理 jrm^n_6};
#include <strstrea.h> //基于数组的输入/输出 3EA_-?
#include <time.h> //定义关于时间的函数 OzxiT +
#include <wchar.h> //宽字符处理及输入/输出 Un+- T
#include <wctype.h> //宽字符分类 od !s5f!
QY\'Uu{
////////////////////////////////////////////////////////////////////////// qM>Dt
W3X;c*j
标准 C++ (同上的不再注释) or)fx/ %h
6@d/k.3p
#include <algorithm> //STL 通用算法 Y'}c$*OkI
#include <bitset> //STL 位集容器 :4\_upRE
#include <cctype> ]N1,"W}
#include <cerrno> hbx+*KM
#include <clocale> B>"-8#B[4
#include <cmath> :^x,>(a
#include <complex> //复数类 K)\D,5X^
#include <cstdio> f?@M"p@T
#include <cstdlib> ?f5||^7
#include <cstring> <BdC#t:*L
#include <ctime> '&]6(+I>
#include <deque> //STL 双端队列容器 ~jWpD7px
#include <exception> //异常处理类 UU#$Kt*frR
#include <fstream> }$@K
#include <functional> //STL 定义运算函数(代替运算符) )Dcee@/7S
#include <limits> G he@m6|D
#include <list> //STL 线性列表容器 \pI
,6$'
#include <map> //STL 映射容器 sI4
FgO
#include <iomanip> )%:
W;H
#include <ios> //基本输入/输出支持 G+3uY25y
#include <iosfwd> //输入/输出系统使用的前置声明 %2?"x*A
#include <iostream> )R@Y$*fm
#include <istream> //基本输入流 nXh<+7
#include <ostream> //基本输出流 f\:I1y
#include <queue> //STL 队列容器 Z#GR)jb+
#include <set> //STL 集合容器 \x_$Pu
#include <sstream> //基于字符串的流 0U2dNLc
#include <stack> //STL 堆栈容器 On+0@hh
#include <stdexcept> //标准异常类 B]>rcjD
#include <streambuf> //底层输入/输出支持 ]go.IfH
#include <string> //字符串类 nF
'U*
#include <utility> //STL 通用模板类 iZ(p]0aP7
#include <vector> //STL 动态数组容器 u^L_X A
#include <cwchar> EYZ,GT-I
#include <cwctype> 6fT^t!<i
I(9+F
using namespace std; ^w*vux|F
s21)*d
////////////////////////////////////////////////////////////////////////// 2%pe.stQ
#vR5a}BAk
C99 增加 %nkbQ2^
A.!3{pAb
#include <complex.h> //复数处理 ?Xp+5{
#include <fenv.h> //浮点环境 NL"w#kTc()
#include <inttypes.h> //整数格式转换 ;tZ 8Sh)
#include <stdbool.h> //布尔环境 {Q0DHNP(G
#include <stdint.h> //整型环境 6U] "i
#include <tgmath.h> //通用类型数学宏