C、传统 C++ <DM
/"^*
NFEF{|}BM
#include <assert.h> //设定插入点 ir-= @@
#include <ctype.h> //字符处理 me7?
#include <errno.h> //定义错误码 CXZO
#include <float.h> //浮点数处理 |?tUUT!`t
#include <fstream.h> //文件输入/输出 2GHmA_7P
#include <iomanip.h> //参数化输入/输出 '}Tf9L%
#include <iostream.h> //数据流输入/输出 POl[]ni=>
#include <limits.h> //定义各种数据类型最值常量 $Eo)i
#include <locale.h> //定义本地化函数 !D_Qat
#include <math.h> //定义数学函数 C|@6rr9TA
#include <stdio.h> //定义输入/输出函数 "8'aZ.P
#include <stdlib.h> //定义杂项函数及内存分配函数 %s^2m"ca}=
#include <string.h> //字符串处理 ~; emUU
#include <strstrea.h> //基于数组的输入/输出 \G!TC{6
#include <time.h> //定义关于时间的函数 "'@iDq%y
#include <wchar.h> //宽字符处理及输入/输出 cr&sI=i
#include <wctype.h> //宽字符分类 SXA`o<Ma
AaVj^iy/X
////////////////////////////////////////////////////////////////////////// $Ka-ZPy<#
7AE)P[
标准 C++ (同上的不再注释) "wB~*,Ny
I1IuvH6
#include <algorithm> //STL 通用算法 jmDQKqEc|l
#include <bitset> //STL 位集容器 aWG7k#nE
#include <cctype> Ed(6%kd
#include <cerrno> Oc51|[
Wj
#include <clocale> W[dK{?RB
#include <cmath> y(#Aze{yC
#include <complex> //复数类 <vP{U
#include <cstdio> 2itJD1;
#include <cstdlib> =lE_
Q[P
#include <cstring> vw;GbQH(
#include <ctime> xcF:moL
#include <deque> //STL 双端队列容器 3kAhvL
#include <exception> //异常处理类 E*uz|w3S)Y
#include <fstream> 0E6tH&
;>
#include <functional> //STL 定义运算函数(代替运算符) J`&*r;""V
#include <limits> J <<Ph
#include <list> //STL 线性列表容器 XtJ_po
#include <map> //STL 映射容器 2=&4@c|cn
#include <iomanip> Stzv
#include <ios> //基本输入/输出支持 SnK#YQCDt
#include <iosfwd> //输入/输出系统使用的前置声明 P|>pm]>C
#include <iostream> 4H<@da}
#include <istream> //基本输入流 .ykCmznf*
#include <ostream> //基本输出流 u@;6r"8q
#include <queue> //STL 队列容器 LQ7.RK
#include <set> //STL 集合容器 Xx=jN1=,
#include <sstream> //基于字符串的流 U]aH4N
#include <stack> //STL 堆栈容器 K>"]*#aBv
#include <stdexcept> //标准异常类 GW]b[l
#include <streambuf> //底层输入/输出支持 WSt&?+Y
#include <string> //字符串类 x*Lm{c5+
#include <utility> //STL 通用模板类 -2{NIF^H
#include <vector> //STL 动态数组容器 ^1#"FU2cP
#include <cwchar> yo#aX^v~y
#include <cwctype> rv75R}.6R^
6
J&_H(^
using namespace std; r34q9NFT5
)2Ru}
-H
////////////////////////////////////////////////////////////////////////// P6n9yJ$,cb
pyW&`(]S
C99 增加 BrWo/1b
7Vn;LW
#include <complex.h> //复数处理 'zEmg}
#include <fenv.h> //浮点环境 !)Y T_ib
#include <inttypes.h> //整数格式转换 X^?M4
#include <stdbool.h> //布尔环境 r#%e$
#include <stdint.h> //整型环境 $jpAnZR- /
#include <tgmath.h> //通用类型数学宏