C、传统 C++ H(K!{k
v+x rnz
#include <assert.h> //设定插入点 $X;OK
#include <ctype.h> //字符处理 vh&~Y].W Y
#include <errno.h> //定义错误码 p@q20>^u
#include <float.h> //浮点数处理 5N>f lQ
#include <fstream.h> //文件输入/输出 \C~6
'
#include <iomanip.h> //参数化输入/输出 72RTEGy
#include <iostream.h> //数据流输入/输出 nm`(;<W
#include <limits.h> //定义各种数据类型最值常量 %JPr 7 }
#include <locale.h> //定义本地化函数 hj"JmF$m
#include <math.h> //定义数学函数 rD$5]%Y
#include <stdio.h> //定义输入/输出函数 kuBtPZ
#include <stdlib.h> //定义杂项函数及内存分配函数 IAkQR0fcN
#include <string.h> //字符串处理 0TV16--
#include <strstrea.h> //基于数组的输入/输出 TDfloDxA
#include <time.h> //定义关于时间的函数 `qd5+~c
#include <wchar.h> //宽字符处理及输入/输出 m Qx1co
#include <wctype.h> //宽字符分类 .<%q9Jy#
7hx^U90K
////////////////////////////////////////////////////////////////////////// F$4=7Njv
^m D$#
标准 C++ (同上的不再注释) FZU1WBNL%t
#O~pf[[L
#include <algorithm> //STL 通用算法 yn+m,K/
#include <bitset> //STL 位集容器 gktlwiCZ
#include <cctype> X ]&`"Z]
#include <cerrno> -">Tvi4
#include <clocale> /|NyO+Io
#include <cmath> XFs7kTY
#include <complex> //复数类
c)Ef]E\
#include <cstdio> 9wc\~5{li
#include <cstdlib> "i&n;8?Y
#include <cstring> K)l*$h&-
#include <ctime> D`Vb3aNB=L
#include <deque> //STL 双端队列容器 ?nu<)~r53
#include <exception> //异常处理类 J
R~s`>2
#include <fstream>
h8p{
#include <functional> //STL 定义运算函数(代替运算符) Xo(W\Pes
#include <limits> JcP<@bb>B
#include <list> //STL 线性列表容器 HL[V}m
#include <map> //STL 映射容器 S.iUiS"
#include <iomanip> SZ4y\I
#include <ios> //基本输入/输出支持 <l,e6K
#include <iosfwd> //输入/输出系统使用的前置声明 c|m?f
#include <iostream> v@2?X4n
#include <istream> //基本输入流
He4q-\ht
#include <ostream> //基本输出流 0Z((cI\J
#include <queue> //STL 队列容器 .
P44t
#include <set> //STL 集合容器 G M;uwL#
#include <sstream> //基于字符串的流 d72( g$F
#include <stack> //STL 堆栈容器 R.*
k7-(;
#include <stdexcept> //标准异常类 g&B7Y|Es
#include <streambuf> //底层输入/输出支持 K; hP0J
#include <string> //字符串类 }Dcpe M?
#include <utility> //STL 通用模板类 ML$#&Z@
*7
#include <vector> //STL 动态数组容器 j&.JAQ*2;
#include <cwchar> gBI?dw
#include <cwctype> N0D5N(kH%
N{RHbSa(
using namespace std; nWYfe-zQxg
cbou1Ei
////////////////////////////////////////////////////////////////////////// uVZm9Sp
"/^kFsvp
C99 增加 s#0m
T|oDJ]\J
#include <complex.h> //复数处理 /Yww G;1
#include <fenv.h> //浮点环境 26zif
#include <inttypes.h> //整数格式转换 %^I 7=
#include <stdbool.h> //布尔环境 ,-$%>Uv
#include <stdint.h> //整型环境 P:'y}a-
#include <tgmath.h> //通用类型数学宏