C、传统 C++ (_<,Oj#*S
t|i<}2
#include <assert.h> //设定插入点 0Ci/-3HV!
#include <ctype.h> //字符处理 f,Dic%$q
#include <errno.h> //定义错误码 X(X[v]
#include <float.h> //浮点数处理 ,Kl?-W@
#include <fstream.h> //文件输入/输出 qIQRl1Tw;V
#include <iomanip.h> //参数化输入/输出 *o4a<.hd2
#include <iostream.h> //数据流输入/输出 Uc'}y!R
#include <limits.h> //定义各种数据类型最值常量 )RvX}y-
#include <locale.h> //定义本地化函数 EY<"B2_%
#include <math.h> //定义数学函数 m8b,_1
#include <stdio.h> //定义输入/输出函数 uC#@qpzy
#include <stdlib.h> //定义杂项函数及内存分配函数 /]5*;kO`
#include <string.h> //字符串处理 M<n'ZDK`W
#include <strstrea.h> //基于数组的输入/输出 {srxc4R`
#include <time.h> //定义关于时间的函数 \`xlD&F@U
#include <wchar.h> //宽字符处理及输入/输出 %)?jaE}[
#include <wctype.h> //宽字符分类 LybaE~=
geqP. MR
////////////////////////////////////////////////////////////////////////// *|Er;Thw
.#$2,"8
标准 C++ (同上的不再注释) }aR}ZzK/v
UO@K:n
#include <algorithm> //STL 通用算法 VZI!rFac
#include <bitset> //STL 位集容器 3B
'j?+A
#include <cctype> fz :(mZ%
#include <cerrno> p^k0Rad
#include <clocale> Z%:>nDZV
#include <cmath> S6JXi>n
#include <complex> //复数类 I4?oBq
#include <cstdio> /\h*v!:
#include <cstdlib> ?_^{9q%9
#include <cstring> Q
N#bd~
#include <ctime> _UPfqC ?
#include <deque> //STL 双端队列容器 o!KDeY
#include <exception> //异常处理类 dCTyfXou[=
#include <fstream> OQB7C0+ &
#include <functional> //STL 定义运算函数(代替运算符) H(K
PU1lDw
#include <limits> [K\b"^=<
#include <list> //STL 线性列表容器 2wIJ;rh
#include <map> //STL 映射容器 T-6<qh
#include <iomanip> m 0vW<
#include <ios> //基本输入/输出支持 0FI
|7
#include <iosfwd> //输入/输出系统使用的前置声明 -|KZOea
#include <iostream> PBCGC^0{
#include <istream> //基本输入流 =(D"(OsQ/
#include <ostream> //基本输出流 h )5S4)
#include <queue> //STL 队列容器 @;P ;iI
#include <set> //STL 集合容器 /G'3!S
#include <sstream> //基于字符串的流 A8*zB=C
#include <stack> //STL 堆栈容器 U].]K
#include <stdexcept> //标准异常类 ">z3i`#C'
#include <streambuf> //底层输入/输出支持 tMX$8W0
c
#include <string> //字符串类 62qjU<Z
#include <utility> //STL 通用模板类 )j>U4a
#include <vector> //STL 动态数组容器 ^zQI_ydG
#include <cwchar> 60u_,@rV
#include <cwctype> 2*V[kmD/3
#xw*;hW<
using namespace std; !h7.xl OpN
5HV+7zU5
////////////////////////////////////////////////////////////////////////// +|,4g_(j
XgHJ Oqt
C99 增加 T TN!$?G3
9"]#.A^Q*
#include <complex.h> //复数处理 ucx02^uA
#include <fenv.h> //浮点环境 +)"Rv%.
#include <inttypes.h> //整数格式转换 3>@VPMi
#include <stdbool.h> //布尔环境 zZ8 *a\
#include <stdint.h> //整型环境 {XmCG%%L
#include <tgmath.h> //通用类型数学宏