C、传统 C++ u0$7k9mE
HH6b{f@^
#include <assert.h> //设定插入点 mU_?}}aK,
#include <ctype.h> //字符处理 &tZ?%sr
#include <errno.h> //定义错误码 6K P!o
#include <float.h> //浮点数处理 8BNsh[+
#include <fstream.h> //文件输入/输出 ?w#
>Cs(
#include <iomanip.h> //参数化输入/输出 :=~%&
#include <iostream.h> //数据流输入/输出 %e7{ke}r
#include <limits.h> //定义各种数据类型最值常量 uYL6g:]+ZC
#include <locale.h> //定义本地化函数 w;QDQ
fx0
#include <math.h> //定义数学函数 H'I|tPs
#include <stdio.h> //定义输入/输出函数 <-Q0WP_^
#include <stdlib.h> //定义杂项函数及内存分配函数 oAWk<B(@
#include <string.h> //字符串处理 @.*[CC;&
#include <strstrea.h> //基于数组的输入/输出 W _b$E
=
#include <time.h> //定义关于时间的函数 ~1Tz[\H#R
#include <wchar.h> //宽字符处理及输入/输出 YH<F~F _
#include <wctype.h> //宽字符分类 0P/A
fY=iQ?{/[
////////////////////////////////////////////////////////////////////////// $},:z]%D
LO.4sO
标准 C++ (同上的不再注释) D0i84I`Z%
q22cp&gmX
#include <algorithm> //STL 通用算法 5?;'26iC
#include <bitset> //STL 位集容器 V@>?lv(\
#include <cctype> [&nwB!kt
#include <cerrno> -xXNzC
#include <clocale> O%o#CBf0
#include <cmath> ejo4mQ]a
#include <complex> //复数类 |@nvg>mu
#include <cstdio> RW(AjDM
#include <cstdlib> .ET;wK
#include <cstring> *BXtE8
BU
#include <ctime> F:pXdU-xf
#include <deque> //STL 双端队列容器 _$ixE~w-!
#include <exception> //异常处理类 ?%Y?z]L#
#include <fstream> 10#!{].#x
#include <functional> //STL 定义运算函数(代替运算符) (dMFYL>YP
#include <limits> GJO/']k
#include <list> //STL 线性列表容器 ZX'{o9+w5
#include <map> //STL 映射容器 +8^9:w0}
#include <iomanip> k|A!5A2
#include <ios> //基本输入/输出支持 C2<y(GU[Bh
#include <iosfwd> //输入/输出系统使用的前置声明 EE}NA{b
#include <iostream> X8Sk
#include <istream> //基本输入流 m9G,%]4|
#include <ostream> //基本输出流 mApn(&
#include <queue> //STL 队列容器 *|t]6!aVLS
#include <set> //STL 集合容器 6S6nE%.3
#include <sstream> //基于字符串的流 d`~#uN {
#include <stack> //STL 堆栈容器 =AD/5E,3
#include <stdexcept> //标准异常类 eaX`S.!jR
#include <streambuf> //底层输入/输出支持 TdKl`"Iy
#include <string> //字符串类 qh7o;x~,
#include <utility> //STL 通用模板类 (X>y)V
#include <vector> //STL 动态数组容器 +=k?Dp[
#include <cwchar> do[K-r
#include <cwctype> yN>"r2
K,IOD
t
using namespace std; &]LwK5SR
?G?=,tV
////////////////////////////////////////////////////////////////////////// .qK=lHxT
{t=Nnc15K
C99 增加 xh-[]Jz(
^7"%eWT`
#include <complex.h> //复数处理 t*qA.xc6
#include <fenv.h> //浮点环境 d:pp,N~2o
#include <inttypes.h> //整数格式转换 5)nv
#include <stdbool.h> //布尔环境 ]Rj"/(X,
#include <stdint.h> //整型环境 HO@T2t[
#include <tgmath.h> //通用类型数学宏