C、传统 C++ GqsV6kH
C}<e3BXc
#include <assert.h> //设定插入点 KG(FA
#include <ctype.h> //字符处理 BNjMq
#include <errno.h> //定义错误码 YHom9&A
#include <float.h> //浮点数处理 p<'pqf
#include <fstream.h> //文件输入/输出 /KC^x=Xv:
#include <iomanip.h> //参数化输入/输出 Mx6
yk,
#include <iostream.h> //数据流输入/输出 QnBWZUI
#include <limits.h> //定义各种数据类型最值常量 4Ol1T(J#
#include <locale.h> //定义本地化函数 k3t]lGp
#include <math.h> //定义数学函数 J`0dF<<{[y
#include <stdio.h> //定义输入/输出函数 [Q8Wy/o
Q
#include <stdlib.h> //定义杂项函数及内存分配函数 +{=U!}3|
#include <string.h> //字符串处理 >f Hu
#include <strstrea.h> //基于数组的输入/输出 z7XI`MZN^
#include <time.h> //定义关于时间的函数 [^}bc-9?i
#include <wchar.h> //宽字符处理及输入/输出
Nb3O>&J
#include <wctype.h> //宽字符分类 Zy9IRZe4U
bXOM=T
////////////////////////////////////////////////////////////////////////// -a>CF^tH
6p&2A
标准 C++ (同上的不再注释) q {
;Dp*.YJ
#include <algorithm> //STL 通用算法 eQ)*jeD
#include <bitset> //STL 位集容器 x2&5zp
#include <cctype> X,G"#j^
#include <cerrno> g}Lm;gs!>
#include <clocale> DeW{#c6
#include <cmath> _i7yyt;h
#include <complex> //复数类 A#?Cts,M
#include <cstdio> P8h|2,c%
#include <cstdlib> fW=<bf
#include <cstring> ?o6#i 3k#'
#include <ctime> zmD7]?|
#include <deque> //STL 双端队列容器 q'y<UyT6
#include <exception> //异常处理类 G?LC!9MB
#include <fstream> #+_=(J
#include <functional> //STL 定义运算函数(代替运算符) JBq6Qg
#include <limits> -&1P2m/46
#include <list> //STL 线性列表容器 0/|Ax-dK
#include <map> //STL 映射容器 f$5pp=s: n
#include <iomanip> 2{BS `f
#include <ios> //基本输入/输出支持 o[eZ"}~
#include <iosfwd> //输入/输出系统使用的前置声明 pN9U1!|uam
#include <iostream> ADOA&r[
#include <istream> //基本输入流 u' kG(<0Y
#include <ostream> //基本输出流 %zY5'$v `
#include <queue> //STL 队列容器 \v=@'
#include <set> //STL 集合容器 Crj7n/mp]s
#include <sstream> //基于字符串的流 GNuIcy
#include <stack> //STL 堆栈容器 ' e!WZvr
#include <stdexcept> //标准异常类 h$9ut@I
#include <streambuf> //底层输入/输出支持 =a+
} 6
#include <string> //字符串类 {0+WVZ4u
#include <utility> //STL 通用模板类 Q;z!]hjBM
#include <vector> //STL 动态数组容器 uJ0'`Q?6R9
#include <cwchar> HrZX~JnTmf
#include <cwctype> b?,%M^9\`
J9XH8Grk-
using namespace std; j@+$lU*r
3HcduJntl
////////////////////////////////////////////////////////////////////////// aY.cx1"
nJYIkfdA
C99 增加 8_Uhh5[
Qa:[iF
#include <complex.h> //复数处理 s3@mk\?qMe
#include <fenv.h> //浮点环境 8Ed axeDq
#include <inttypes.h> //整数格式转换 +hispU3ia
#include <stdbool.h> //布尔环境 w?8\9\ ;?
#include <stdint.h> //整型环境 Sa@'?ApH
#include <tgmath.h> //通用类型数学宏