C、传统 C++ y1#*c$ O
9\!=i
#include <assert.h> //设定插入点 Rh%C$d(
#include <ctype.h> //字符处理 Svt%*j
#include <errno.h> //定义错误码 Z. ,pcnaQb
#include <float.h> //浮点数处理 VYnB&3%DF
#include <fstream.h> //文件输入/输出 x{9$4d
#include <iomanip.h> //参数化输入/输出 ,jdTe?[*^
#include <iostream.h> //数据流输入/输出 c]A @'{7
#include <limits.h> //定义各种数据类型最值常量 zvR;Tl6]
#include <locale.h> //定义本地化函数 iiv`ji
#include <math.h> //定义数学函数 ~mC>G 4y$a
#include <stdio.h> //定义输入/输出函数 Dn:1Mtj-
#include <stdlib.h> //定义杂项函数及内存分配函数 z
LZHVvL3
#include <string.h> //字符串处理 ? $.x%G+
#include <strstrea.h> //基于数组的输入/输出 cf%aOHYI*
#include <time.h> //定义关于时间的函数 FXh*!%"*
#include <wchar.h> //宽字符处理及输入/输出 SS!b`
#include <wctype.h> //宽字符分类 <['ucp
d"OYq
////////////////////////////////////////////////////////////////////////// lY[\eQ
1:
Qb8Z+7
标准 C++ (同上的不再注释) o ]@'R<F(u
(&Mv!6]
#include <algorithm> //STL 通用算法 K)GpQ|4:<
#include <bitset> //STL 位集容器 ?^WX]SAl
#include <cctype> 5V8`-yO9
#include <cerrno> S~U5xM^s
#include <clocale> OlX#1W]
#include <cmath> -%TwtO<$']
#include <complex> //复数类 -q&7q
#include <cstdio> X/FR e[R
#include <cstdlib> V(;c#%I2
#include <cstring> ;E0x#JUrw
#include <ctime> :
`,#z?Rk
#include <deque> //STL 双端队列容器 : eFyd`Syw
#include <exception> //异常处理类 ~~}8D"
#include <fstream> ]T._TZ"
#include <functional> //STL 定义运算函数(代替运算符) &(h@]F!
#include <limits> ~(]'ah,
#include <list> //STL 线性列表容器 NL &![;
#include <map> //STL 映射容器 %lGT|XrY
#include <iomanip> 00pe4^U
#include <ios> //基本输入/输出支持 x\ 8gb#8
#include <iosfwd> //输入/输出系统使用的前置声明 zQoJ8i>
#include <iostream> R~BFZF>:
#include <istream> //基本输入流 \ESNfL5
#include <ostream> //基本输出流 5MK.>3fE
#include <queue> //STL 队列容器 )}@Z*.HZL
#include <set> //STL 集合容器 +>Pq]{Uf1j
#include <sstream> //基于字符串的流 ='6@^6y
#include <stack> //STL 堆栈容器 p~OX1RBI
#include <stdexcept> //标准异常类 ?dmwz4k0
#include <streambuf> //底层输入/输出支持 R'qBG(?i
#include <string> //字符串类 Y8for'
#include <utility> //STL 通用模板类 ,qj M1xkL$
#include <vector> //STL 动态数组容器 )kIjZ
#include <cwchar> nPhREn!
#include <cwctype> *i V#_
c=aVYQ"2
using namespace std; ,.AXQ#~&`
,15$$3z /E
////////////////////////////////////////////////////////////////////////// zS'{F>w
.&.L@CRH
C99 增加 ;iz3Bf1o
83F]d+n
#include <complex.h> //复数处理 u.2^t:A
#include <fenv.h> //浮点环境 h<i.Z7F;tj
#include <inttypes.h> //整数格式转换 2=$ F*B>9
#include <stdbool.h> //布尔环境 \O)u' Bu
#include <stdint.h> //整型环境 2{S*$K[M
#include <tgmath.h> //通用类型数学宏