C、传统 C++ 0C<\m\|~k
XC3)#D#HGh
#include <assert.h> //设定插入点 [Hx}#Kds
#include <ctype.h> //字符处理 3/RwCtc
#include <errno.h> //定义错误码 )q<VZ|V
#include <float.h> //浮点数处理 &E`Nu (e
#include <fstream.h> //文件输入/输出 =CQfs6np:N
#include <iomanip.h> //参数化输入/输出 ]xvA2!)Q
#include <iostream.h> //数据流输入/输出 gclj:7U
#include <limits.h> //定义各种数据类型最值常量 qJ;~ANwt
#include <locale.h> //定义本地化函数 T, #-: }
#include <math.h> //定义数学函数 6/;YS[jX
#include <stdio.h> //定义输入/输出函数 oRbWqN`F.
#include <stdlib.h> //定义杂项函数及内存分配函数 ,3?=W/Um4
#include <string.h> //字符串处理
hlVC+%8
#include <strstrea.h> //基于数组的输入/输出 ?c8~VQaQ
#include <time.h> //定义关于时间的函数 |)7K(R)(=
#include <wchar.h> //宽字符处理及输入/输出 8>x5|
#include <wctype.h> //宽字符分类 D*.3]3-I
s4Ja y!A
////////////////////////////////////////////////////////////////////////// X0j\nXk
6Jgl"Jw8
标准 C++ (同上的不再注释) e, sS.
a@? $#>
#include <algorithm> //STL 通用算法 t3$ cX_
#include <bitset> //STL 位集容器 'N{1b_v?
#include <cctype> pqg2#@F.
#include <cerrno> $l,U)
#include <clocale> u/W{JPlL
#include <cmath> MQ =x:p{
#include <complex> //复数类 w(HVC
#include <cstdio> -,
+o*BP
#include <cstdlib> m !:F/?B
#include <cstring> Rc)]A&J
#include <ctime> \WE/#To
#include <deque> //STL 双端队列容器 $U,]c
#include <exception> //异常处理类 _U}|Le@ e
#include <fstream> ULew ~j
#include <functional> //STL 定义运算函数(代替运算符) lsV>sW4]Z
#include <limits> _U*R_2aV
#include <list> //STL 线性列表容器 Rs<S}oeLn
#include <map> //STL 映射容器 /;_$:`|/
#include <iomanip> 8+!G/p
#include <ios> //基本输入/输出支持
e$
#include <iosfwd> //输入/输出系统使用的前置声明 .NdsKhg
b
#include <iostream> LEKE+775
#include <istream> //基本输入流 <c@dE
#include <ostream> //基本输出流 bIT[\Q
#include <queue> //STL 队列容器 o< b
#include <set> //STL 集合容器 oItC;T
#include <sstream> //基于字符串的流 o
^w^dgJ
#include <stack> //STL 堆栈容器 2s2KI=6
#include <stdexcept> //标准异常类 Iv7BIK^0
#include <streambuf> //底层输入/输出支持 >CCy2W^W
#include <string> //字符串类 e>Q:j_?.e
#include <utility> //STL 通用模板类 W*H %\Y:N
#include <vector> //STL 动态数组容器 (Vey]J
#include <cwchar> /pe.?Zd
#include <cwctype> $xvwnbq#y
S@\&^1;4Hv
using namespace std; ,DKW_F|
cmf*BkS
////////////////////////////////////////////////////////////////////////// %Y`)ZKh
g7%vI8Y)@
C99 增加 bN*zx)f
#SLiv
#include <complex.h> //复数处理 9MRe?
#include <fenv.h> //浮点环境 #!z'R20PH
#include <inttypes.h> //整数格式转换 qzD
#include <stdbool.h> //布尔环境 w2"]%WS %
#include <stdint.h> //整型环境 ku v<
#include <tgmath.h> //通用类型数学宏