C、传统 C++ !m"LIa#/Cs
K&Ner(/X`6
#include <assert.h> //设定插入点 Rah"La
#include <ctype.h> //字符处理 cyrVz4_a
#include <errno.h> //定义错误码 me:~q#k
#include <float.h> //浮点数处理 Q&+Jeji
#include <fstream.h> //文件输入/输出 pRWEBd1U
#include <iomanip.h> //参数化输入/输出 w^OV;gp
#include <iostream.h> //数据流输入/输出 Y )#x(s?t
#include <limits.h> //定义各种数据类型最值常量 R % [ZQK
#include <locale.h> //定义本地化函数 ~A@T_*0
#include <math.h> //定义数学函数 _&V%idz!0
#include <stdio.h> //定义输入/输出函数 &.XlXihnt
#include <stdlib.h> //定义杂项函数及内存分配函数 yHhx- `
#include <string.h> //字符串处理 Le;;Yd}f
#include <strstrea.h> //基于数组的输入/输出 x93h{Kf
#include <time.h> //定义关于时间的函数 Zk,`
Iq
#include <wchar.h> //宽字符处理及输入/输出 kt`_n+G
#include <wctype.h> //宽字符分类 BIGln`;,f
EQ
'L"
////////////////////////////////////////////////////////////////////////// )4:K@
qTSyy=
标准 C++ (同上的不再注释) ~tK4C |
I|zak](HU
#include <algorithm> //STL 通用算法 CD]hi,B_J
#include <bitset> //STL 位集容器 o>WB,i^ G
#include <cctype> <Qg).n>;z
#include <cerrno> 8(-V pU
#include <clocale> ffoL]u\
#include <cmath> <A|X4;
#include <complex> //复数类 YnM&t
;TX
#include <cstdio> w-iu/|}
#include <cstdlib> < z':_,
#include <cstring> Pq\
`0/4_
#include <ctime> kY>jp@wV
#include <deque> //STL 双端队列容器 mzw`{Oy>L
#include <exception> //异常处理类 e&~vO| 3w%
#include <fstream> LGnb"ZN
#include <functional> //STL 定义运算函数(代替运算符) )/HbmtX qI
#include <limits> KLb"_1z
#include <list> //STL 线性列表容器 MWdev.m:Z
#include <map> //STL 映射容器 L& = a(
#include <iomanip> }9:(l
#include <ios> //基本输入/输出支持 o;'E("!<Z
#include <iosfwd> //输入/输出系统使用的前置声明 S]!s)q-- z
#include <iostream> (=A61]yB
#include <istream> //基本输入流 grD[7;1~:)
#include <ostream> //基本输出流 TF]bmM})0
#include <queue> //STL 队列容器 *JnY0xP
#include <set> //STL 集合容器 J?6.yL;
#include <sstream> //基于字符串的流 7Qdf#DG
#include <stack> //STL 堆栈容器 U
?iw
#include <stdexcept> //标准异常类 #jrtsv]
#include <streambuf> //底层输入/输出支持 Z9
z!YaOL
#include <string> //字符串类 L
hp
#include <utility> //STL 通用模板类 x,wXR=H
#include <vector> //STL 动态数组容器 V52>K$j
#include <cwchar> @JW HG1qJ
#include <cwctype> (g" {A
&f=O`*I'+!
using namespace std; 8Z&M}Llk
,LE 15},
////////////////////////////////////////////////////////////////////////// vCvjb\S
ML _$/
C99 增加 ATQw=w
3W
4^r4O#
#include <complex.h> //复数处理 TWzlF>4N
#include <fenv.h> //浮点环境 J`6IH#54
#include <inttypes.h> //整数格式转换 zH"a>+st=
#include <stdbool.h> //布尔环境 vYFtw L`
#include <stdint.h> //整型环境 @%lkRU)
#include <tgmath.h> //通用类型数学宏