C、传统 C++ ?;AL F
~WYE"(
#include <assert.h> //设定插入点 ~n8Oyr
#include <ctype.h> //字符处理 :w
{M6mM>
#include <errno.h> //定义错误码 {|Mxvp*Hg
#include <float.h> //浮点数处理 xoz*UA.
#include <fstream.h> //文件输入/输出 8^P2GG'+-
#include <iomanip.h> //参数化输入/输出 323yAF
#include <iostream.h> //数据流输入/输出 =#POMK".6
#include <limits.h> //定义各种数据类型最值常量 ((RpT0rP\
#include <locale.h> //定义本地化函数 xVHQ[I%
#include <math.h> //定义数学函数 fJF8/IQ4
#include <stdio.h> //定义输入/输出函数 V\k5h
#include <stdlib.h> //定义杂项函数及内存分配函数 Pjj;.c 7_j
#include <string.h> //字符串处理 OVQxZ~uQ
#include <strstrea.h> //基于数组的输入/输出 {jx#^n&5R
#include <time.h> //定义关于时间的函数 ,{`o/F/
#include <wchar.h> //宽字符处理及输入/输出 ^V XXq
#include <wctype.h> //宽字符分类 Ru9pb~K
;4S
[ba1/
////////////////////////////////////////////////////////////////////////// k"DQbUy0L
WRLu3nBx
标准 C++ (同上的不再注释) ' F 6au[
|04}zU%N
#include <algorithm> //STL 通用算法 ~Me&cT8
#include <bitset> //STL 位集容器 /_zF?5h
#include <cctype> xdbu|fC
#include <cerrno> 3-9J"d!
#include <clocale> @
@3)D%h
#include <cmath> D:6x*+jah)
#include <complex> //复数类 JX2
|
#include <cstdio> 72s$
#include <cstdlib> +X%fcoc
#include <cstring> fUL{c,7xda
#include <ctime> U"%8"G0)
#include <deque> //STL 双端队列容器 -pU\"$nuxH
#include <exception> //异常处理类 0-t4+T
#include <fstream> GH; F3s
#include <functional> //STL 定义运算函数(代替运算符) O'&X aaZV
#include <limits> fdCxMKlu;
#include <list> //STL 线性列表容器 <Hr@~<@~
#include <map> //STL 映射容器 3*2&Fw!B
#include <iomanip> {Gb)Et]<
#include <ios> //基本输入/输出支持 gk_X u
#include <iosfwd> //输入/输出系统使用的前置声明 <4!&iU+;
#include <iostream> R^u^y{ohr
#include <istream> //基本输入流 sxC{\iLY%
#include <ostream> //基本输出流 S{"6PXzb
#include <queue> //STL 队列容器 g*w-"%"O
#include <set> //STL 集合容器 -%/,j)VKD
#include <sstream> //基于字符串的流 >ihe|WN
#include <stack> //STL 堆栈容器 ZZFI\o
#include <stdexcept> //标准异常类 HZr/0I?
#include <streambuf> //底层输入/输出支持 +poIgjq0
#include <string> //字符串类 *{;A\sL
#include <utility> //STL 通用模板类 t#D\*:Xi
#include <vector> //STL 动态数组容器 v;F+fOo
#include <cwchar> K_lCDiqG
#include <cwctype> L/ICFa.G
{L2Gb(YLW
using namespace std; 2Z IpzH/8
8w@W8(3B
////////////////////////////////////////////////////////////////////////// u7y7
%BYlbEx
C99 增加 yS.fe[
lA^Kh
#include <complex.h> //复数处理 <,]CVo
#include <fenv.h> //浮点环境 }Bod#|`
#include <inttypes.h> //整数格式转换 $O]E$S${
#include <stdbool.h> //布尔环境 ae(]9 VW
#include <stdint.h> //整型环境 xz+`]Q
#include <tgmath.h> //通用类型数学宏