C、传统 C++ JeNX5bXW
^AJ
2Y_}v
#include <assert.h> //设定插入点 V?"U)Y@Y
#include <ctype.h> //字符处理 f"*4R
kG
#include <errno.h> //定义错误码 =P9rOK=
#include <float.h> //浮点数处理 k\T]*A
#include <fstream.h> //文件输入/输出 U>.5vK.+
#include <iomanip.h> //参数化输入/输出 Q(yg bT
#include <iostream.h> //数据流输入/输出 !^98o:"x
#include <limits.h> //定义各种数据类型最值常量 ;}U]^LT=
#include <locale.h> //定义本地化函数
8J$1N*J|
#include <math.h> //定义数学函数 :{Z%dD
#include <stdio.h> //定义输入/输出函数 "j?x gV
#include <stdlib.h> //定义杂项函数及内存分配函数 h?OSmzRLd
#include <string.h> //字符串处理 biS[GyQ
#include <strstrea.h> //基于数组的输入/输出 j?]+~
#include <time.h> //定义关于时间的函数 $V?sD{=W
#include <wchar.h> //宽字符处理及输入/输出
=A'JIssk
#include <wctype.h> //宽字符分类 <D)@;A
o&@ y^<UQ
////////////////////////////////////////////////////////////////////////// <bg6k . s
c U(z5th
标准 C++ (同上的不再注释) &K9RV4M5
u1u;aG
#include <algorithm> //STL 通用算法 {v=[~H>bt
#include <bitset> //STL 位集容器 dnwzf=+>e
#include <cctype> I{U|'a
#include <cerrno> `RE>gX
#include <clocale> G9QvIXRi
#include <cmath>
n7Eh!<
#include <complex> //复数类 BxlhCu
#include <cstdio> PHIc7*_
#include <cstdlib> "a'I^B/
#include <cstring> N: 38N
#include <ctime> w ~crj$UM
#include <deque> //STL 双端队列容器 4 Sk@ v
#include <exception> //异常处理类 *dBmb
#include <fstream> P{`fav
#include <functional> //STL 定义运算函数(代替运算符) PyHL`PZZ
#include <limits> V/"RCqY4
#include <list> //STL 线性列表容器 ;Wk3>\nT-
#include <map> //STL 映射容器 6]<yR>
'
#include <iomanip> H\<0{#F
#include <ios> //基本输入/输出支持 C\BKdx5;
#include <iosfwd> //输入/输出系统使用的前置声明 yY49JZ
#include <iostream> h;r^9g
#include <istream> //基本输入流 |P|2E~[r
#include <ostream> //基本输出流 &Fuk+Cu{
#include <queue> //STL 队列容器 [qkW/qS
#include <set> //STL 集合容器 5MCgmF*Y2
#include <sstream> //基于字符串的流 <_eEpG}9
#include <stack> //STL 堆栈容器 i(.PkYkaq
#include <stdexcept> //标准异常类 Ev [?5R
#include <streambuf> //底层输入/输出支持 <im}R9eJ1
#include <string> //字符串类 #>lbpw
#include <utility> //STL 通用模板类 ( )ldn?v
#include <vector> //STL 动态数组容器 l,b,U/3R.
#include <cwchar> ,H/O"%OJ
#include <cwctype> rOEBL|P0
z4(\yx
using namespace std; Yqo @
g2g
_1$ Y\Y
////////////////////////////////////////////////////////////////////////// yW7>5r
*,O3@,+>H
C99 增加 9lGa*f)
tlvZy+Blv
#include <complex.h> //复数处理 E2cZk6~m{
#include <fenv.h> //浮点环境 ZK'WKC
#include <inttypes.h> //整数格式转换 4s_5>r4
#include <stdbool.h> //布尔环境 ]K>bSK^TX
#include <stdint.h> //整型环境 z%+rI
#include <tgmath.h> //通用类型数学宏