C、传统 C++ HNHhMi`w
o y%g{,V
#include <assert.h> //设定插入点 6Nd_YX
#include <ctype.h> //字符处理 UgP=k){
#include <errno.h> //定义错误码 FDGKMGZ
#include <float.h> //浮点数处理 +IOKE\,Y
#include <fstream.h> //文件输入/输出 ]zM90$6
#include <iomanip.h> //参数化输入/输出 -"JE-n
#include <iostream.h> //数据流输入/输出 )V+Dqh,-g
#include <limits.h> //定义各种数据类型最值常量 "*>QxA%c4
#include <locale.h> //定义本地化函数 GF.g'wYc)Y
#include <math.h> //定义数学函数 ;xkf?|
#include <stdio.h> //定义输入/输出函数 cdU
>iB,
#include <stdlib.h> //定义杂项函数及内存分配函数 fY+ .#V
#include <string.h> //字符串处理 px(1Ppb9
#include <strstrea.h> //基于数组的输入/输出 0\ytBxL
#include <time.h> //定义关于时间的函数 bl=*3qB
#include <wchar.h> //宽字符处理及输入/输出 MgK(gL/&[
#include <wctype.h> //宽字符分类 Dil4ut-$
HjF'~n
////////////////////////////////////////////////////////////////////////// NYV0<z@M2M
GL0' :LsZ
标准 C++ (同上的不再注释) *.;}OX^X
Y @ ,e
#include <algorithm> //STL 通用算法 ])ZJ1QL1
#include <bitset> //STL 位集容器 h|/*yTuN.y
#include <cctype> VT~
^:-]
#include <cerrno> qI%9MI;BV
#include <clocale> QX~72X=(
#include <cmath> xyJgHbml
#include <complex> //复数类 <wGTs6
#include <cstdio> XkfUPbU
#include <cstdlib> f.xSr!
#include <cstring> );.<Yf{c
#include <ctime> qaSv]k.
#include <deque> //STL 双端队列容器 1p5q}">z
#include <exception> //异常处理类 LF,c-Cv!jL
#include <fstream> Mud\Q["
#include <functional> //STL 定义运算函数(代替运算符) 1nM?>j%k
#include <limits> _q!ck0_
#include <list> //STL 线性列表容器 B(vz$QE,$r
#include <map> //STL 映射容器 gdn,nL`dP
#include <iomanip> /)<7$
#include <ios> //基本输入/输出支持 [~r$US
#include <iosfwd> //输入/输出系统使用的前置声明 w\Eve:
#include <iostream> Erymx$@P
#include <istream> //基本输入流 ,4I6Rw B.
#include <ostream> //基本输出流 "lj:bxM2C
#include <queue> //STL 队列容器 =81Xt1,
#include <set> //STL 集合容器 7&U+f:-w
#include <sstream> //基于字符串的流 RoXOGVo
#include <stack> //STL 堆栈容器 r3lr`s`
#include <stdexcept> //标准异常类 #S74C*'8
#include <streambuf> //底层输入/输出支持 2OOj8JS
#include <string> //字符串类 y]z# ??
#include <utility> //STL 通用模板类 B!C32~[
#include <vector> //STL 动态数组容器 3G0\i!*t
#include <cwchar>
nLLHggNAV
#include <cwctype> C4d1*IQk
OpX
using namespace std; HOI`F3#XI
sN/Xofh
////////////////////////////////////////////////////////////////////////// '$ nGtB5
-kS5mR
C99 增加 .\\#~r`t 3
/]58:euR
#include <complex.h> //复数处理 G!lykk]
#include <fenv.h> //浮点环境 /u1zRw
#include <inttypes.h> //整数格式转换 GnHf9
JrR
#include <stdbool.h> //布尔环境 Z"&ODVP
#include <stdint.h> //整型环境 wx7>0[ zE
#include <tgmath.h> //通用类型数学宏