C、传统 C++ LX%UkfA9
e0e3b]
#include <assert.h> //设定插入点 e$Npo<u
#include <ctype.h> //字符处理 vyhxS .[9
#include <errno.h> //定义错误码 9{-
Sa
#include <float.h> //浮点数处理 6\5"36&/rQ
#include <fstream.h> //文件输入/输出 mo*ClU7
#include <iomanip.h> //参数化输入/输出 +)<H,?/
#include <iostream.h> //数据流输入/输出 .}*_NU
#include <limits.h> //定义各种数据类型最值常量 _mG>^QI.
#include <locale.h> //定义本地化函数 1)N~0)dO
#include <math.h> //定义数学函数 p=jIDM'
#include <stdio.h> //定义输入/输出函数 vVfIe5+OP
#include <stdlib.h> //定义杂项函数及内存分配函数 -.
J@
#include <string.h> //字符串处理 2;`F`}BA
#include <strstrea.h> //基于数组的输入/输出 \L]T|]}(
#include <time.h> //定义关于时间的函数 y%Wbm&h
#include <wchar.h> //宽字符处理及输入/输出
gI5Fzk@:
#include <wctype.h> //宽字符分类 #U?=D/
nq,P.~l
////////////////////////////////////////////////////////////////////////// d>bS)
wM0P#+bA\
标准 C++ (同上的不再注释) L9bIdiB7
r>kDRIHB
#include <algorithm> //STL 通用算法 i-W!`1LH'
#include <bitset> //STL 位集容器 6$'0^Ftm'
#include <cctype> Qh{]gw-6
#include <cerrno> ".|?A9m_
#include <clocale> XKEbK\
#include <cmath> @7z_f!'u
#include <complex> //复数类 W^T6^q5;H
#include <cstdio> Hphfqdh0`
#include <cstdlib> 4+2hj*I
#include <cstring> G
]JWd
#include <ctime> IA(+}V
#include <deque> //STL 双端队列容器 A1kqWhg\
#include <exception> //异常处理类 l
]CnLqf&
#include <fstream> 2nv-/%]
#include <functional> //STL 定义运算函数(代替运算符) #Py\'
#include <limits> Ynx.$$`$=
#include <list> //STL 线性列表容器 iTpK:pX
#include <map> //STL 映射容器 s]@k,%
#include <iomanip> <uL0M`u3
#include <ios> //基本输入/输出支持 R)u ${
#include <iosfwd> //输入/输出系统使用的前置声明 >=!$(JgX
#include <iostream> bA*T1Db,t>
#include <istream> //基本输入流 O ]Stf7]%;
#include <ostream> //基本输出流 O~u@J'4
#include <queue> //STL 队列容器 'boAv%1_sa
#include <set> //STL 集合容器 nv-_\M
#include <sstream> //基于字符串的流 +jrMvk"
#include <stack> //STL 堆栈容器 m
L,El2
#include <stdexcept> //标准异常类 :978D0}{p
#include <streambuf> //底层输入/输出支持 ANWUo}j
#include <string> //字符串类 6u-aV
#include <utility> //STL 通用模板类 YThFskR oO
#include <vector> //STL 动态数组容器 @K}8zMmW#
#include <cwchar> rxM)SC;P
#include <cwctype> ^[u*m%UB
B>{\qj)%
using namespace std; F3,djZq
KRN{Ath.
////////////////////////////////////////////////////////////////////////// 2Hj;o
K26x,m]p
C99 增加 1u\kxlZ
v>]^wH>/"
#include <complex.h> //复数处理 vo3[)BDbT
#include <fenv.h> //浮点环境 -7\6j#;l
#include <inttypes.h> //整数格式转换 ;DN:AgXP
#include <stdbool.h> //布尔环境 OK1f Y`$z
#include <stdint.h> //整型环境 n?z^"vv$i
#include <tgmath.h> //通用类型数学宏