C、传统 C++ E._ [P/PB
aDX4}`u
#include <assert.h> //设定插入点 "(E%JAwZ^W
#include <ctype.h> //字符处理 3;EBKGg|
#include <errno.h> //定义错误码 d#HN'(2t
#include <float.h> //浮点数处理 :,MI,SwnS
#include <fstream.h> //文件输入/输出
yc@:*Z
#include <iomanip.h> //参数化输入/输出 A@I3:V
#include <iostream.h> //数据流输入/输出 ; DI"9
#include <limits.h> //定义各种数据类型最值常量 8"x\kSMb
#include <locale.h> //定义本地化函数 /C[XC7^4'
#include <math.h> //定义数学函数 SQf.R%cg$
#include <stdio.h> //定义输入/输出函数 )$E'2|Gm/
#include <stdlib.h> //定义杂项函数及内存分配函数 LQa1p
#include <string.h> //字符串处理 8)&J oPN
#include <strstrea.h> //基于数组的输入/输出 x/#.%Ga#T
#include <time.h> //定义关于时间的函数 IS }U2d,W
#include <wchar.h> //宽字符处理及输入/输出 ~ouRDO
#include <wctype.h> //宽字符分类 2rX}A3%9^^
7e@Bkq0)
////////////////////////////////////////////////////////////////////////// ig:z[k?
_zFJ]7Ym.)
标准 C++ (同上的不再注释) yI*h"?7T
O9MBQNwjA
#include <algorithm> //STL 通用算法 C<iOa)_@Q
#include <bitset> //STL 位集容器 ${, !L l7)
#include <cctype> +Ram%"Zwh
#include <cerrno> ;F>I+l_X
#include <clocale> %{";RfSVX%
#include <cmath> ^NOy:>
#include <complex> //复数类 [wjH;f>SQ
#include <cstdio> y O?52YO
#include <cstdlib> m_>~e}2'A
#include <cstring> VufG7%S{
#include <ctime> Q02:qn?T
#include <deque> //STL 双端队列容器 ,DWC=:@X
#include <exception> //异常处理类 tsqWnz=)
#include <fstream> I KDh)Zm
#include <functional> //STL 定义运算函数(代替运算符) rZ7)sE5L
#include <limits> Zl`sY5{1
#include <list> //STL 线性列表容器 vke]VXU9z
#include <map> //STL 映射容器 }WG -R
#include <iomanip> U-:_4[
#include <ios> //基本输入/输出支持 vD4<G{
#include <iosfwd> //输入/输出系统使用的前置声明 h}(GOYS)
#include <iostream> >d#6qXKAU
#include <istream> //基本输入流 1'g{tP"d
#include <ostream> //基本输出流 7_ah1IEK
#include <queue> //STL 队列容器 vH9Gf
#include <set> //STL 集合容器 ,4z?9@wQ
#include <sstream> //基于字符串的流 TANt*r7
#include <stack> //STL 堆栈容器 7u7 <"?v=
#include <stdexcept> //标准异常类 <E&"]
#include <streambuf> //底层输入/输出支持 VNLggeX'U
#include <string> //字符串类 |MXv
w6P
#include <utility> //STL 通用模板类 =D~RIt/D
#include <vector> //STL 动态数组容器 t#[u
X?
#include <cwchar> N8:&v
#include <cwctype> Eq?d+s>
P(BV J_n
using namespace std; yD9<-B<)
6M758K6v
////////////////////////////////////////////////////////////////////////// V2?&3Z)W
a0ze7F<(
C99 增加 wUz)9n 6j
tcxs%yWO1
#include <complex.h> //复数处理 Bswd20(w
#include <fenv.h> //浮点环境 r'ydjy
#include <inttypes.h> //整数格式转换 ]xIfgSq
#include <stdbool.h> //布尔环境 6|D,`dk3U
#include <stdint.h> //整型环境 mjqVP.
#include <tgmath.h> //通用类型数学宏