C、传统 C++ Ao%E]M
sO7$b@"u.
#include <assert.h> //设定插入点 @91Q=S
#include <ctype.h> //字符处理 #6g-{OBv
#include <errno.h> //定义错误码 :`BZ,j_
#include <float.h> //浮点数处理 b_88o-*/
#include <fstream.h> //文件输入/输出 'Y23U7 n0B
#include <iomanip.h> //参数化输入/输出 ydp?%RB3w
#include <iostream.h> //数据流输入/输出 HfN-WYiR
#include <limits.h> //定义各种数据类型最值常量 9/Q_Jv-Q
#include <locale.h> //定义本地化函数 Bkg/A;H
#include <math.h> //定义数学函数 ".+wz1
#include <stdio.h> //定义输入/输出函数 Id8^6FLw
#include <stdlib.h> //定义杂项函数及内存分配函数 C~o6]'+F_
#include <string.h> //字符串处理 }\5^$[p
#include <strstrea.h> //基于数组的输入/输出 xLht6%o*
#include <time.h> //定义关于时间的函数 |a@$KF$
#include <wchar.h> //宽字符处理及输入/输出 uS :3Yo
#include <wctype.h> //宽字符分类 <p<jXwl
zjd]65P
////////////////////////////////////////////////////////////////////////// X$,#OR
@W3fKF9*R
标准 C++ (同上的不再注释) r1:S8RT;H5
S!gV\gEbDj
#include <algorithm> //STL 通用算法 ]/;0
#include <bitset> //STL 位集容器 <qH>[\
#include <cctype> Ve>*KHDSt
#include <cerrno> _%Q\G,a;
#include <clocale> =L~,HS(l,
#include <cmath> @]lKQZ^2&
#include <complex> //复数类 .E:QZH' M
#include <cstdio> ?! dp0<
#include <cstdlib> @Tmqw(n{
#include <cstring> ` c~:3^?9d
#include <ctime> :w_J/k5Zd
#include <deque> //STL 双端队列容器 hNXP-s
#include <exception> //异常处理类 e"en
ma\_
#include <fstream> -05zcIVo
#include <functional> //STL 定义运算函数(代替运算符) GRz`fO
#include <limits> eN]0]9JO
#include <list> //STL 线性列表容器 s]Z/0:`
#include <map> //STL 映射容器 rC~hjViG.
#include <iomanip> !?B9 0(
#include <ios> //基本输入/输出支持 NC::;e
#include <iosfwd> //输入/输出系统使用的前置声明 xy`aR< L
#include <iostream> C/dqCUX:
#include <istream> //基本输入流 lPm'>,}Y
#include <ostream> //基本输出流 =g'7 xA
#include <queue> //STL 队列容器 Mj5=t:MI
#include <set> //STL 集合容器 *ie#9jA
#include <sstream> //基于字符串的流 m;o \.s
#include <stack> //STL 堆栈容器 *=}$@OS
#include <stdexcept> //标准异常类 .(Q3M0.D
#include <streambuf> //底层输入/输出支持 ^!H8"CdC3
#include <string> //字符串类 pLMki=.Ld
#include <utility> //STL 通用模板类 '3=[xVnv
#include <vector> //STL 动态数组容器 Uxx=$
#include <cwchar> ]t_AXKd
#include <cwctype> (_-<3)q4
0hcrQ^BB!b
using namespace std; hBDPz1<
/yn1MW[.
////////////////////////////////////////////////////////////////////////// p"ht|x
FCQI fJ#
C99 增加
04NI.Jv
!$hrK6o
#include <complex.h> //复数处理 ~$w-I\Q!
#include <fenv.h> //浮点环境 R(@7$
#include <inttypes.h> //整数格式转换 4VLrl8$K
#include <stdbool.h> //布尔环境 cF_`m
#include <stdint.h> //整型环境 5{qFKo"g@,
#include <tgmath.h> //通用类型数学宏