C、传统 C++ (2:/8\_P
G0^2Wk[
#include <assert.h> //设定插入点 6WU(%
#include <ctype.h> //字符处理 gx\&_)w N
#include <errno.h> //定义错误码 N4L|;?
#include <float.h> //浮点数处理 QA5QweL
#include <fstream.h> //文件输入/输出 >(?9?
#include <iomanip.h> //参数化输入/输出 l}]t~!X=
#include <iostream.h> //数据流输入/输出 3td)'}
#include <limits.h> //定义各种数据类型最值常量 ]>~)<
#include <locale.h> //定义本地化函数 c@/(B:@
#include <math.h> //定义数学函数 oAPb*;}
#include <stdio.h> //定义输入/输出函数 /4`
0?/V
#include <stdlib.h> //定义杂项函数及内存分配函数
FE2f'e
#include <string.h> //字符串处理 ?q;Fp
#include <strstrea.h> //基于数组的输入/输出 rzh#CnL3
#include <time.h> //定义关于时间的函数 G-?d3n
#include <wchar.h> //宽字符处理及输入/输出 rld67'KcE
#include <wctype.h> //宽字符分类 (fCXxyZrr
@>E2?CV
////////////////////////////////////////////////////////////////////////// WXmn1^"kK}
}T%}wdj
标准 C++ (同上的不再注释) lJE93rXU
B:!W$<
#include <algorithm> //STL 通用算法 =y/8^^
#include <bitset> //STL 位集容器 jC7&s$>Q"g
#include <cctype> Lz:(6`S
#include <cerrno> *T~Ve;3h;
#include <clocale> IGtl\b=
#include <cmath> /XhIx\40l
#include <complex> //复数类 r9
!Tug*>m
#include <cstdio> F@<CsgKB-
#include <cstdlib> *g[^.Sg
#include <cstring> .8P.)%
#include <ctime> +=.W<b
#include <deque> //STL 双端队列容器 [BT/~6ovrZ
#include <exception> //异常处理类 4Qo]nre!
#include <fstream> 3AsT
#include <functional> //STL 定义运算函数(代替运算符) unBy&?&p
#include <limits> D?0zhU
#include <list> //STL 线性列表容器 %5A+V0D0'
#include <map> //STL 映射容器 OnK~3j
#include <iomanip> jSwf*u
#include <ios> //基本输入/输出支持 T`Mf]s)*
#include <iosfwd> //输入/输出系统使用的前置声明 CC@.MA@9N
#include <iostream> SL;9Q[
#include <istream> //基本输入流 }b0; 0j
#include <ostream> //基本输出流 3Ei5pX =g
#include <queue> //STL 队列容器 %"af748!+D
#include <set> //STL 集合容器 }C#;fp"L
#include <sstream> //基于字符串的流 yRiP{$E
#include <stack> //STL 堆栈容器 QC X8IIHG
#include <stdexcept> //标准异常类 |'{zri|A"
#include <streambuf> //底层输入/输出支持 9M1d%jT
#include <string> //字符串类 Xa[?^P
#include <utility> //STL 通用模板类 :P@rkT3Q t
#include <vector> //STL 动态数组容器 6p?JAT5
#include <cwchar> Ldl5zc
#include <cwctype> e`v`XSA[p
^pe{b9c
using namespace std; q7-L53.x
>$,y5 AJ&
////////////////////////////////////////////////////////////////////////// 6'RrQc=q
=?s3iP
C99 增加 |)K]U
[g Z"a*
#include <complex.h> //复数处理 qq1 - DG
#include <fenv.h> //浮点环境 w&B#goS
#include <inttypes.h> //整数格式转换 nYa*b=[.
#include <stdbool.h> //布尔环境 *L'>U[Pl7
#include <stdint.h> //整型环境 i6 (a@KRY
#include <tgmath.h> //通用类型数学宏