C、传统 C++ |nm}E_
4iZg2"[D
#include <assert.h> //设定插入点 ,v`03?8l(
#include <ctype.h> //字符处理 E~VV19Bv]/
#include <errno.h> //定义错误码 mg" _3].j
#include <float.h> //浮点数处理 p'6XF{
#include <fstream.h> //文件输入/输出 Zrj#4E1
#include <iomanip.h> //参数化输入/输出 0|C !n+OK
#include <iostream.h> //数据流输入/输出 %m
[l/,2x
#include <limits.h> //定义各种数据类型最值常量 bdfs'udt9
#include <locale.h> //定义本地化函数 R0mkEM
#include <math.h> //定义数学函数 j<`3xd'
#include <stdio.h> //定义输入/输出函数 `VvQems
#include <stdlib.h> //定义杂项函数及内存分配函数 X|D-[|P
#include <string.h> //字符串处理 7SNdC8GZ~
#include <strstrea.h> //基于数组的输入/输出 lBm`W]3T
#include <time.h> //定义关于时间的函数 h<bhH=6~
#include <wchar.h> //宽字符处理及输入/输出 ~gHn>]S0
#include <wctype.h> //宽字符分类 P 00%EB
G/#m.=t
////////////////////////////////////////////////////////////////////////// Vbe@S?u-
j@Pd"
Z9
标准 C++ (同上的不再注释) n5;@}Rai
5ArgM%
#include <algorithm> //STL 通用算法 $G{j[iLY
#include <bitset> //STL 位集容器 y%x:~.
#include <cctype> ,In%r`{i
#include <cerrno> s
{^wr6B
#include <clocale> GB"Orm.
#include <cmath> !"&-k:|g
#include <complex> //复数类 #`!mQSK
#include <cstdio> agE-,
#include <cstdlib> |=KzQY|u
#include <cstring> 587;2
#include <ctime> <Q"G
aqZ
#include <deque> //STL 双端队列容器 fK *l?Hr
#include <exception> //异常处理类 s:_a.4&Y
#include <fstream> JYmYX-
#include <functional> //STL 定义运算函数(代替运算符) '.<c[Mp
#include <limits> cd=|P?Bi
#include <list> //STL 线性列表容器 g'{?j~g
#include <map> //STL 映射容器 fD3'Ye<R
#include <iomanip> ^,FG9
#include <ios> //基本输入/输出支持 z] -m<#1
#include <iosfwd> //输入/输出系统使用的前置声明 <&2<>*/.y
#include <iostream> ww[||
=
#include <istream> //基本输入流 BkPt 1i
#include <ostream> //基本输出流 H_Va$}8z
#include <queue> //STL 队列容器 &:u3-:$:9
#include <set> //STL 集合容器 !3\$XK]5ZT
#include <sstream> //基于字符串的流 M d8(P23hS
#include <stack> //STL 堆栈容器 sC.r$K+k5
#include <stdexcept> //标准异常类 W7gY$\1<&
#include <streambuf> //底层输入/输出支持 4:^MSgra
#include <string> //字符串类 4;
0#Z^p
#include <utility> //STL 通用模板类 !]E]Xd<
#include <vector> //STL 动态数组容器 $ZZ?*I
#include <cwchar> )?7/fF)@|
#include <cwctype> gat;Er
VH<d[Mj
using namespace std; WPAUY<6f
!M`.(sO]
//////////////////////////////////////////////////////////////////////////
kPiY|EH
mEu2@3^E }
C99 增加 ]$ Nhy8-
ULBEe@s
#include <complex.h> //复数处理 =wW M\f`=
#include <fenv.h> //浮点环境 |=0w_)Fa]
#include <inttypes.h> //整数格式转换 JbJ!,86
#include <stdbool.h> //布尔环境 Kf}*Ij
#include <stdint.h> //整型环境 43-Bx`6\
#include <tgmath.h> //通用类型数学宏