C、传统 C++ }d;2[fR)
J(}PvkA
#include <assert.h> //设定插入点 T=YVG@fm?
#include <ctype.h> //字符处理 '9u?lA^9$
#include <errno.h> //定义错误码 jA9uB.I,"b
#include <float.h> //浮点数处理 AcuZ?LYzK
#include <fstream.h> //文件输入/输出 ,(q]
$eOZ
#include <iomanip.h> //参数化输入/输出 grE(8M
#include <iostream.h> //数据流输入/输出 0#TL$?=|
#include <limits.h> //定义各种数据类型最值常量 sTP\}
#include <locale.h> //定义本地化函数 L~/,;PHN
#include <math.h> //定义数学函数 f$:Y'$Z1
#include <stdio.h> //定义输入/输出函数 5B)&;[
#include <stdlib.h> //定义杂项函数及内存分配函数 39O rY
#include <string.h> //字符串处理 G8vDy1`q6
#include <strstrea.h> //基于数组的输入/输出 G 3U[)("
#include <time.h> //定义关于时间的函数 X[Ufq^fyA
#include <wchar.h> //宽字符处理及输入/输出 /v9qrZ$$
#include <wctype.h> //宽字符分类 R/"f
TOG4=y-N
////////////////////////////////////////////////////////////////////////// ?`e@ o?
GFLat
标准 C++ (同上的不再注释) =$4I}2
f@YdL6&d-
#include <algorithm> //STL 通用算法 BhDg\oxZ
#include <bitset> //STL 位集容器 +0U=UV)U
#include <cctype> =| T ^)J
#include <cerrno> mOj; 0 R
#include <clocale>
tgG
8pL
#include <cmath> )e5=<'f1
#include <complex> //复数类 nG4ZOx.*1g
#include <cstdio> mWZP.w^-
#include <cstdlib> ',g%L_8Sq
#include <cstring> >m lQ@Z_O
#include <ctime> 'dBe,@
#include <deque> //STL 双端队列容器
^cw9Yjh6
#include <exception> //异常处理类 Ojz'p5d`>
#include <fstream> 3m75mny
#include <functional> //STL 定义运算函数(代替运算符) Nzgi)xX0HX
#include <limits> ?xv."I%
#include <list> //STL 线性列表容器 uz+WVmb
#include <map> //STL 映射容器 2iM}YCV
#include <iomanip> v\dQjQu8m
#include <ios> //基本输入/输出支持 Tk[]l7R~
#include <iosfwd> //输入/输出系统使用的前置声明 eb`3'&zV&)
#include <iostream> &c!6e<o[p
#include <istream> //基本输入流 vC>2%Zgf-
#include <ostream> //基本输出流 W7A!QS
#include <queue> //STL 队列容器 Ox#vW6;)
#include <set> //STL 集合容器 G7CkP
#include <sstream> //基于字符串的流 U&6A)SW,k
#include <stack> //STL 堆栈容器 (${:5W
#include <stdexcept> //标准异常类 ,Tar?&C:
#include <streambuf> //底层输入/输出支持 \&+Y;:6
#include <string> //字符串类 }*rS g .
#include <utility> //STL 通用模板类 ]wDqdD y7S
#include <vector> //STL 动态数组容器 qdZ ^D
#include <cwchar> eY#^vB
#include <cwctype> wipl5O@L
R.WB.FP
using namespace std; d #1&"(
40MKf/9
////////////////////////////////////////////////////////////////////////// \:Tq0|]Px
9d|8c >
I
C99 增加 8/j|=Q,5
` Ny(S2
#include <complex.h> //复数处理 # *pB"L
#include <fenv.h> //浮点环境 'kj
q C
#include <inttypes.h> //整数格式转换 nG3SDL#(k
#include <stdbool.h> //布尔环境 n\D/WLv M
#include <stdint.h> //整型环境 `XE>Td>Bs
#include <tgmath.h> //通用类型数学宏