C、传统 C++ :%U
lNk
9Dyy&$s
#include <assert.h> //设定插入点 t3!~=U
#include <ctype.h> //字符处理 ~$7YEs)
#include <errno.h> //定义错误码 9FF
#include <float.h> //浮点数处理 ^a#W|-:
#include <fstream.h> //文件输入/输出 (&/~q:a>
#include <iomanip.h> //参数化输入/输出 j3>&Su>H4
#include <iostream.h> //数据流输入/输出 8Z
0@-8vi
#include <limits.h> //定义各种数据类型最值常量 R]o2_r7N"}
#include <locale.h> //定义本地化函数 q-e3;$
#include <math.h> //定义数学函数 CZ(fP86e
#include <stdio.h> //定义输入/输出函数 T\Jm=+]c!
#include <stdlib.h> //定义杂项函数及内存分配函数 Owh:(EJ"d
#include <string.h> //字符串处理 Tb]
h<S
#include <strstrea.h> //基于数组的输入/输出 \x"BgLSE
#include <time.h> //定义关于时间的函数 <V#]3$(S
#include <wchar.h> //宽字符处理及输入/输出 #O7phjzgD
#include <wctype.h> //宽字符分类 @j%7tfW
'9AYE"7Ydk
////////////////////////////////////////////////////////////////////////// +.X3&|@k
,@Elw>^
标准 C++ (同上的不再注释) !ed0
BIT<J5>
#include <algorithm> //STL 通用算法
x![ut
#include <bitset> //STL 位集容器 f6#1sO4"
#include <cctype> jfZ)
#include <cerrno> _~!c%_
#include <clocale> -?ebkHe
#include <cmath> @~IZ%lEQsD
#include <complex> //复数类 f^[m~
#include <cstdio> {65_k
#include <cstdlib> t\\<+^[%
#include <cstring> Qr~yHFc1y
#include <ctime> ^K^rl9
#include <deque> //STL 双端队列容器 ?jnbm'~S
#include <exception> //异常处理类 \K:?#07Wj4
#include <fstream> }/7rA)_
#include <functional> //STL 定义运算函数(代替运算符) KoFWI_(b
#include <limits> jf&
oN]sZ
#include <list> //STL 线性列表容器 m .^WSy
#include <map> //STL 映射容器 hTQ]xN)
#include <iomanip> ")W5`9
#include <ios> //基本输入/输出支持 y"ms;w'z
#include <iosfwd> //输入/输出系统使用的前置声明 Oq95zo
#include <iostream> r<"k
/
#include <istream> //基本输入流 @$?*UI6y
#include <ostream> //基本输出流 F4g3l
#include <queue> //STL 队列容器 ~JOC8dO
#include <set> //STL 集合容器 8`q"] BQN
#include <sstream> //基于字符串的流 '^.3}N{Fo
#include <stack> //STL 堆栈容器 oCB#i~|>a
#include <stdexcept> //标准异常类 w5a;ts_x
#include <streambuf> //底层输入/输出支持 <@qJsRbhK
#include <string> //字符串类 h9 +76
#include <utility> //STL 通用模板类 <{.pYrn
#include <vector> //STL 动态数组容器 H`T}k+e2-N
#include <cwchar> JiiYl
#include <cwctype> /tq e:*
$XrX(l5
using namespace std; Y,X0x-
44UN*_qG
////////////////////////////////////////////////////////////////////////// Kp/l2?J"
{JW_ZJx
C99 增加 9NqZ&S
N\zUQ
J
#include <complex.h> //复数处理 w-``kID
#include <fenv.h> //浮点环境 Oi~.z@@
#include <inttypes.h> //整数格式转换 !Ee&e~"
#include <stdbool.h> //布尔环境 D*)"?LG
#include <stdint.h> //整型环境 6,skF^
#include <tgmath.h> //通用类型数学宏