C、传统 C++ "crp/Bj?
LAnC8O
#include <assert.h> //设定插入点 l0URJRK{*
#include <ctype.h> //字符处理 4X7J~
#include <errno.h> //定义错误码 a#i|)[
#include <float.h> //浮点数处理 + 9|0\Q
#include <fstream.h> //文件输入/输出 00f'G2n
#include <iomanip.h> //参数化输入/输出 MUv#8{+F'/
#include <iostream.h> //数据流输入/输出 C'y2!Q/"
#include <limits.h> //定义各种数据类型最值常量 U^
,!
#include <locale.h> //定义本地化函数 e f&8L
#include <math.h> //定义数学函数 z^.dYb7<
#include <stdio.h> //定义输入/输出函数 hcRe,}wJ
#include <stdlib.h> //定义杂项函数及内存分配函数 jP_s(PQ
#include <string.h> //字符串处理 ~_"V7
#include <strstrea.h> //基于数组的输入/输出 8 @(?E[&O>
#include <time.h> //定义关于时间的函数 @_$$'XA7
#include <wchar.h> //宽字符处理及输入/输出 IHi[3xf<
#include <wctype.h> //宽字符分类 @Lf&[_
>`a^E1)
////////////////////////////////////////////////////////////////////////// ^'M^0'_"v
,dK)I1"C
标准 C++ (同上的不再注释) ~|Ln9f-g
, .~k
#include <algorithm> //STL 通用算法 RXcN<Y&
#include <bitset> //STL 位集容器
~/)]`w
#include <cctype> dI%ho<zm]
#include <cerrno> ma@V>*u
#include <clocale> +
jeOZ
#include <cmath> E@xrn+L>-
#include <complex> //复数类 ?E+f<jol
#include <cstdio> u kZK*Y9P
#include <cstdlib> CadIux^
#include <cstring> %xG<hNw/
#include <ctime> nh5=0{va|L
#include <deque> //STL 双端队列容器 4ytdcb
#include <exception> //异常处理类 bEmN
tp^
#include <fstream> bHx@
#include <functional> //STL 定义运算函数(代替运算符) D_JGbNigA
#include <limits> {47l1wV]
#include <list> //STL 线性列表容器 l4U*Lv>
#include <map> //STL 映射容器 4lc|~Fj++
#include <iomanip> %`T}%B
#include <ios> //基本输入/输出支持 P7,g^:$
#include <iosfwd> //输入/输出系统使用的前置声明 Br}@Vvq@
#include <iostream> 9_jiUZFje
#include <istream> //基本输入流 M&29J
#include <ostream> //基本输出流 o3|4PAA/
#include <queue> //STL 队列容器 X<C fy
#include <set> //STL 集合容器 s !2Iui
@
#include <sstream> //基于字符串的流 NyRa.hgZ;
#include <stack> //STL 堆栈容器 Hd\oV^>
#include <stdexcept> //标准异常类 qwJp&6
#include <streambuf> //底层输入/输出支持 UjoA$A!Od;
#include <string> //字符串类 +a|Q)Ob
#include <utility> //STL 通用模板类 |94o P>d
#include <vector> //STL 动态数组容器 G rU`;M"
#include <cwchar> D84&=EpVZ
#include <cwctype> Q4LPi;{\
;zo|. YD
using namespace std; Sa9VwVUE
nh@JGy*L
////////////////////////////////////////////////////////////////////////// 0x5Ax=ut
Dqc
GzTz
C99 增加 46e?%0(
5VOw}{Pt
#include <complex.h> //复数处理 b-#{O=B
#include <fenv.h> //浮点环境 uF}dEDB|;
#include <inttypes.h> //整数格式转换 S ;rd0+J
#include <stdbool.h> //布尔环境 %~M* <pN
#include <stdint.h> //整型环境 ;ZAwf0~
#include <tgmath.h> //通用类型数学宏