C、传统 C++ TP{2q51yM
Cd2A&RB
#include <assert.h> //设定插入点 R,dbq4xkl
#include <ctype.h> //字符处理 o&ETs)n|
#include <errno.h> //定义错误码 +^|_vq^XR
#include <float.h> //浮点数处理 Lv
UQ&NmY
#include <fstream.h> //文件输入/输出 IRyZ0$r:e\
#include <iomanip.h> //参数化输入/输出 %8{nuq+c
#include <iostream.h> //数据流输入/输出 wl7 (|\-
#include <limits.h> //定义各种数据类型最值常量 ApNS0
#include <locale.h> //定义本地化函数 3t9Weo)
#include <math.h> //定义数学函数 <\ EJ:
#include <stdio.h> //定义输入/输出函数 !
G3Gr
#include <stdlib.h> //定义杂项函数及内存分配函数 AW8*bq1
#include <string.h> //字符串处理 B;e (5y-
#include <strstrea.h> //基于数组的输入/输出 LY;FjbyU
#include <time.h> //定义关于时间的函数 6|n3e,&A2
#include <wchar.h> //宽字符处理及输入/输出 o2~P
vef
#include <wctype.h> //宽字符分类 Dl@Jj?zc
`br$kB
////////////////////////////////////////////////////////////////////////// U*4r<y9R
sm"s2Ci=}
标准 C++ (同上的不再注释) ,0a\Ka{^
( 4(,"
#include <algorithm> //STL 通用算法 "fu:hHq
#include <bitset> //STL 位集容器 fPPC`d&Q3
#include <cctype> ir|c<~_=
#include <cerrno> Kk`LuS?
#include <clocale> r4m z
#include <cmath> \zKO5,qw
#include <complex> //复数类 &P7Z_&34Z
#include <cstdio> !|\l*
#include <cstdlib> 4-m6e$p;
#include <cstring> OE*Y%*b
#include <ctime> 7@
\:l~{
#include <deque> //STL 双端队列容器 lHAWZyO
#include <exception> //异常处理类 ^!fY~(=U4
#include <fstream> V]NCFG
#include <functional> //STL 定义运算函数(代替运算符) 2Gh&h(
#include <limits> lg
+ >.^7k
#include <list> //STL 线性列表容器 R*/s#*gmL
#include <map> //STL 映射容器 F3[,6%4v
#include <iomanip> Q[{RNab
#include <ios> //基本输入/输出支持 5]xSK'6W
#include <iosfwd> //输入/输出系统使用的前置声明 niqknqW<t
#include <iostream> $*;`$5.x^
#include <istream> //基本输入流 "+E\os72|
#include <ostream> //基本输出流 _iL?kf
#include <queue> //STL 队列容器 -Xx4:S
#include <set> //STL 集合容器 pX+4B=*
#include <sstream> //基于字符串的流 S$ffTdRz
#include <stack> //STL 堆栈容器 :V1j*)
#include <stdexcept> //标准异常类 tI)|y?q
#include <streambuf> //底层输入/输出支持 _n1[(I
#include <string> //字符串类 'o~gT ;T#
#include <utility> //STL 通用模板类 (x
fN=Te,-
#include <vector> //STL 动态数组容器 ``%yVVg}
#include <cwchar> -9::M}^2
#include <cwctype> k%BU&%?1
.,20_<j%=
using namespace std; uP+VS>b
P ^ 4 @
////////////////////////////////////////////////////////////////////////// A=3L_
#nO
:bm%f%gg
C99 增加 vA}_x7}n(
l0C`teO
#include <complex.h> //复数处理 SL-;h#-y
4
#include <fenv.h> //浮点环境 )2_[Ww|.
#include <inttypes.h> //整数格式转换 -n8d#Qm)
#include <stdbool.h> //布尔环境 9:P]{}
#include <stdint.h> //整型环境 wZs 2aa
#include <tgmath.h> //通用类型数学宏