C、传统 C++ <
$J>9k
-GhP9; d
#include <assert.h> //设定插入点 JTSlWq4
#include <ctype.h> //字符处理 RP[{4Q8
#include <errno.h> //定义错误码 le/,R@]B9
#include <float.h> //浮点数处理 ,(qRc(Ho
#include <fstream.h> //文件输入/输出 9g'LkP
#include <iomanip.h> //参数化输入/输出 ?XrQ53
#include <iostream.h> //数据流输入/输出 ;oW6 NJ
#include <limits.h> //定义各种数据类型最值常量
mF*2#]%dx
#include <locale.h> //定义本地化函数 0D\#Pq
v
#include <math.h> //定义数学函数 }X)&zenz
#include <stdio.h> //定义输入/输出函数 ,':fu
#include <stdlib.h> //定义杂项函数及内存分配函数
P5a4ze
#include <string.h> //字符串处理 Mo?~_|}
#include <strstrea.h> //基于数组的输入/输出 V58wU:li
#include <time.h> //定义关于时间的函数 JTO~9>$ B
#include <wchar.h> //宽字符处理及输入/输出 de.&`lPRf
#include <wctype.h> //宽字符分类 Dz>^IMsY
%b&".mN
////////////////////////////////////////////////////////////////////////// p>RNPrT
Ta
?_5
标准 C++ (同上的不再注释) }vxw*8d?
~zCEpU|@N
#include <algorithm> //STL 通用算法 -JMdE_h
#include <bitset> //STL 位集容器 {XR6>]
#include <cctype> x+Ttl4
#include <cerrno> H?<N.Dq
#include <clocale> WIC/AL'
#include <cmath> 0^I|ut4
#include <complex> //复数类 6&
e3Nt
#include <cstdio> '\Giv!>
#include <cstdlib> {> eXR?s/
#include <cstring> mn, =i
#include <ctime> }zkHJxZgE
#include <deque> //STL 双端队列容器 Jj!vh{
#include <exception> //异常处理类 I4/8 _)b^
#include <fstream> IHam 4$~-
#include <functional> //STL 定义运算函数(代替运算符) '&x#rjo#
#include <limits> mHV%I@`Y6
#include <list> //STL 线性列表容器 CtyoHvw+M
#include <map> //STL 映射容器 ciBP7>'::
#include <iomanip> h`KFL/fT
#include <ios> //基本输入/输出支持 hn5h\M?
#include <iosfwd> //输入/输出系统使用的前置声明 Zn&,
t &z
#include <iostream> Sg&UagBj
#include <istream> //基本输入流 ^o^H3m
#include <ostream> //基本输出流 6t>.[Y"v
#include <queue> //STL 队列容器 D>/0v8
#include <set> //STL 集合容器
)j9SGLo
#include <sstream> //基于字符串的流 hL/)|N~
#include <stack> //STL 堆栈容器 K&POyOvT
#include <stdexcept> //标准异常类 e-:yb^
#include <streambuf> //底层输入/输出支持 7S '%
E
#include <string> //字符串类 W5EDVPur
#include <utility> //STL 通用模板类 aoMqSwF=
#include <vector> //STL 动态数组容器 ~zHjMo2
#include <cwchar> S^-DK~Xt4
#include <cwctype> 0Vlk;fIh
Lm*e5JnV
using namespace std; F"&~*m^+
[B+yyBtx
////////////////////////////////////////////////////////////////////////// JlH&??
K(q+
"
C99 增加 ]$ L|
'n{Nvt.c
#include <complex.h> //复数处理 xbdN0MAU
#include <fenv.h> //浮点环境 rM`X?>iT+
#include <inttypes.h> //整数格式转换 iq8GrdL"
#include <stdbool.h> //布尔环境 {IxA)v-`
#include <stdint.h> //整型环境 'FqQzx"r
#include <tgmath.h> //通用类型数学宏