C、传统 C++ !&U75FpN}:
ZcA"HD%
#include <assert.h> //设定插入点 WyV4p
#include <ctype.h> //字符处理 A+/Lt>+AS
#include <errno.h> //定义错误码 dX?j/M-
#include <float.h> //浮点数处理 G]B0LUT6c
#include <fstream.h> //文件输入/输出 >\JPX
#include <iomanip.h> //参数化输入/输出 29Uqdo
#include <iostream.h> //数据流输入/输出 h%j4(v}r{C
#include <limits.h> //定义各种数据类型最值常量 s.z)l$
#include <locale.h> //定义本地化函数 B;bP~e>W
#include <math.h> //定义数学函数 'M%iS4b{IM
#include <stdio.h> //定义输入/输出函数 |6AR!
#include <stdlib.h> //定义杂项函数及内存分配函数 ic G 9x
#include <string.h> //字符串处理 i3 js'?7E
#include <strstrea.h> //基于数组的输入/输出 ZRhk2DA#FF
#include <time.h> //定义关于时间的函数 IsE&k2 SD
#include <wchar.h> //宽字符处理及输入/输出 {tVA(&\<
#include <wctype.h> //宽字符分类 jnV#Q
;
H;=yR]E
////////////////////////////////////////////////////////////////////////// Yyk~!G/@
J.~@j;[2
标准 C++ (同上的不再注释) }Z <I%GT
u/tJ])~@
#include <algorithm> //STL 通用算法 l<_v3/3
#include <bitset> //STL 位集容器 !+$qSD,%x
#include <cctype> !MSa -
#include <cerrno> i%yKyfD
#include <clocale> n[/D>Pi
#include <cmath> Yte*$cJ=
#include <complex> //复数类 (
%sfwv
#include <cstdio> thPAD+u.3
#include <cstdlib> %Vo'\|
#include <cstring> 9ERdjS
#include <ctime> 5T/+pC$e=
#include <deque> //STL 双端队列容器 {Lju7'5L
#include <exception> //异常处理类 3\2&?VAjR
#include <fstream> ;)rhx`"n
#include <functional> //STL 定义运算函数(代替运算符) z{R
Mb
#include <limits> ejg!1*H@n
#include <list> //STL 线性列表容器 8h
ol4'B
#include <map> //STL 映射容器 0,0WdJAe
#include <iomanip> @G&oUhS
#include <ios> //基本输入/输出支持 `y'%dY}$n
#include <iosfwd> //输入/输出系统使用的前置声明 ]`-o\,lq
#include <iostream> jzi%[c<G
#include <istream> //基本输入流 o=VZ7]
#include <ostream> //基本输出流 ;$eY#ypx
#include <queue> //STL 队列容器 bP:u`!p
-i
#include <set> //STL 集合容器 OBF M70K
#include <sstream> //基于字符串的流 H~[q<ybxr
#include <stack> //STL 堆栈容器 ~U<j_j)z4.
#include <stdexcept> //标准异常类 n_sV>$f-u
#include <streambuf> //底层输入/输出支持 aR6~r^jB
#include <string> //字符串类 2zo>`;l
#include <utility> //STL 通用模板类 c%<81Y=
#include <vector> //STL 动态数组容器 o5],c9R9b
#include <cwchar> ~,W|i
#include <cwctype> ''2:ZX X
6@Q; LV+
using namespace std; zRh)q,Dt
$zz4A~
////////////////////////////////////////////////////////////////////////// 5P*jGOg .
319 4]
C99 增加 QP%AJ[3ea%
3meZ]u
#include <complex.h> //复数处理 P'}EZ'
#include <fenv.h> //浮点环境 JNU9RxR
#include <inttypes.h> //整数格式转换 8f,",NCgc
#include <stdbool.h> //布尔环境 yJx,4be
#include <stdint.h> //整型环境 k8Dk;N
#include <tgmath.h> //通用类型数学宏