C、传统 C++ -v]
0@jNe
'yqp
#include <assert.h> //设定插入点 w *0T"hK
#include <ctype.h> //字符处理 U*t`hn-xs
#include <errno.h> //定义错误码 f,*e?9@;s
#include <float.h> //浮点数处理 :tMWy
m
#include <fstream.h> //文件输入/输出 ;Lx5r=<Hx
#include <iomanip.h> //参数化输入/输出 ;F5%X\t-
#include <iostream.h> //数据流输入/输出 6}0#({s:R
#include <limits.h> //定义各种数据类型最值常量 WqAP'x 1
#include <locale.h> //定义本地化函数 Bvwk6NBN
#include <math.h> //定义数学函数 E#OKeMK
#include <stdio.h> //定义输入/输出函数 Z1zC@z4sUj
#include <stdlib.h> //定义杂项函数及内存分配函数 I|hG"i
#include <string.h> //字符串处理 =`")\?z}
#include <strstrea.h> //基于数组的输入/输出 BDA\9m^3
#include <time.h> //定义关于时间的函数 @ggM5mm
#include <wchar.h> //宽字符处理及输入/输出 tW +I?
#include <wctype.h> //宽字符分类 X$<?:f-
R?k1)n
////////////////////////////////////////////////////////////////////////// %3cBhv[q4
gi8kYHldH
标准 C++ (同上的不再注释) }-kb"\X%g
mtp[]
#include <algorithm> //STL 通用算法 r mhB!Lo
#include <bitset> //STL 位集容器 ;X>KP,/r$
#include <cctype> u:k#1Nn!
#include <cerrno> Ty5\zxC|
#include <clocale> i^( 0,L
#include <cmath> I]h+24_S
#include <complex> //复数类 wTLHg2'y^
#include <cstdio> `S2=LJ
#include <cstdlib> |Ia46YS
#include <cstring> Y,9("'bo
#include <ctime> G{:L^2>
#include <deque> //STL 双端队列容器 PGJ?=qXr#
#include <exception> //异常处理类 ,Tpds ^
#include <fstream> $W)FpN;CW/
#include <functional> //STL 定义运算函数(代替运算符) ?mMd6U&J
#include <limits> l\bBc,%jt
#include <list> //STL 线性列表容器 8d]=
+n!
#include <map> //STL 映射容器 /bVI'fT
#include <iomanip> }'3V(;9
#include <ios> //基本输入/输出支持 WZZD
#include <iosfwd> //输入/输出系统使用的前置声明 2>mDT
#include <iostream> umj7-fh
#include <istream> //基本输入流 v/)dsSNZ0u
#include <ostream> //基本输出流 r$+9grm<
#include <queue> //STL 队列容器 b'G4KNW
#include <set> //STL 集合容器 q\ ?6-?Mr
#include <sstream> //基于字符串的流 GXwV>)!x
#include <stack> //STL 堆栈容器 <I}k%q'
#include <stdexcept> //标准异常类 mu*wX'.'
#include <streambuf> //底层输入/输出支持 jjs-[g'}
#include <string> //字符串类 "<kmiK/
#include <utility> //STL 通用模板类 sUA)I%Q!
#include <vector> //STL 动态数组容器 om(#P5cSM;
#include <cwchar> 1m&(3%#{
#include <cwctype> UrgvG, Lt
w>#~_x,`
using namespace std; +Q{jV^IT9
]wP)!UZ
////////////////////////////////////////////////////////////////////////// 7eY*Y"GX
>_R5Li
C99 增加 (FBKP#x)^
7Y_S%B:F
#include <complex.h> //复数处理 _M7AQ5
#include <fenv.h> //浮点环境 Lz4iLLP
#include <inttypes.h> //整数格式转换 R+5x:mpHy
#include <stdbool.h> //布尔环境 9nB:=`T9
#include <stdint.h> //整型环境 J,k{Bm
#include <tgmath.h> //通用类型数学宏