C、传统 C++ si nnHQ
i|5 K4Puu
#include <assert.h> //设定插入点 yI 6AafS~
#include <ctype.h> //字符处理 xxh(VQdg
#include <errno.h> //定义错误码 C1@6r%YD
#include <float.h> //浮点数处理 eh-/,vmRa
#include <fstream.h> //文件输入/输出 =sk]/64h``
#include <iomanip.h> //参数化输入/输出 > T,^n
{_v
#include <iostream.h> //数据流输入/输出 9oL/oL-J/
#include <limits.h> //定义各种数据类型最值常量 m%-
#include <locale.h> //定义本地化函数 )kSE5|:pi
#include <math.h> //定义数学函数 h<50jnH!
#include <stdio.h> //定义输入/输出函数 ^y,%Tv>
#include <stdlib.h> //定义杂项函数及内存分配函数 4{d!}R
#include <string.h> //字符串处理 vt" 7[!O
#include <strstrea.h> //基于数组的输入/输出 4|*H0}HOm
#include <time.h> //定义关于时间的函数 3sf+u oV
#include <wchar.h> //宽字符处理及输入/输出 ROr..-[u
#include <wctype.h> //宽字符分类 5__8+R
ZlHN-!OZp
////////////////////////////////////////////////////////////////////////// 0^Vc,\P?
fT-yY`
标准 C++ (同上的不再注释) {"dU?/d
0i2ZgOJ
#include <algorithm> //STL 通用算法 g_\U-pzr
#include <bitset> //STL 位集容器 iD)R*vnAi
#include <cctype> 821@qr|`e
#include <cerrno> opK=Z
#include <clocale> -,t2D/xK
#include <cmath> Jb'M/iG
#include <complex> //复数类 +SGM3tY
#include <cstdio> 7tgn"wK
#include <cstdlib> yp=(wcJ
#include <cstring> Nb2]}; O
#include <ctime> 8}FZ1h2
4
#include <deque> //STL 双端队列容器 ^[{\ZX
#include <exception> //异常处理类 MXWCYi
#include <fstream> _u$X.5Q;
#include <functional> //STL 定义运算函数(代替运算符) }VlX!/42
#include <limits> ~l~ai>/
#include <list> //STL 线性列表容器 je6H}eWTC6
#include <map> //STL 映射容器 %a;N)1/
#include <iomanip> #WD}XOA
#include <ios> //基本输入/输出支持 A+Nf]([
#include <iosfwd> //输入/输出系统使用的前置声明 S&jZYq**
#include <iostream> /xmUu0H$R
#include <istream> //基本输入流 %UuV^C
#include <ostream> //基本输出流 -AUdBG
#include <queue> //STL 队列容器 PT7L65
#include <set> //STL 集合容器 #M;Cw}pW
#include <sstream> //基于字符串的流 J>(I"K%
#include <stack> //STL 堆栈容器 <4,n6$E
#include <stdexcept> //标准异常类 :jB8Q$s
#include <streambuf> //底层输入/输出支持 9ZjSM,+
#include <string> //字符串类 U$R+&@;
#include <utility> //STL 通用模板类 >'4Bq*5>
#include <vector> //STL 动态数组容器 HE911 lc:
#include <cwchar> ]2kgG*^n"
#include <cwctype> R9X*R3nB
Wpo:'?!(M^
using namespace std; Fj<#*2{]B
L4I1n l
////////////////////////////////////////////////////////////////////////// T&6W>VQ|[>
5a1)`2V2M
C99 增加 v=15pW
V_JM@VN}Kk
#include <complex.h> //复数处理 \(Uw.ri
#include <fenv.h> //浮点环境 V3O<l}ak
#include <inttypes.h> //整数格式转换 A+d&aE}3V
#include <stdbool.h> //布尔环境 Wu]Dpe
#include <stdint.h> //整型环境 o*7`r ~
#include <tgmath.h> //通用类型数学宏