C、传统 C++ !v=ha%w{
}J1#UH_E
#include <assert.h> //设定插入点 /DCUwg=0
#include <ctype.h> //字符处理 Zh*I0m
#include <errno.h> //定义错误码 L 'y+^L|X
#include <float.h> //浮点数处理 "-
AiC6u
#include <fstream.h> //文件输入/输出 wuCODz@~
#include <iomanip.h> //参数化输入/输出 A7se#"w
#include <iostream.h> //数据流输入/输出 L`6`NYR
#include <limits.h> //定义各种数据类型最值常量 ^Ue>T8
#include <locale.h> //定义本地化函数 FsjblB3?E
#include <math.h> //定义数学函数 Jh1fM`kB5K
#include <stdio.h> //定义输入/输出函数 \oyr[so(i
#include <stdlib.h> //定义杂项函数及内存分配函数 ~7|z 2L
#include <string.h> //字符串处理 sy;~(rpg
#include <strstrea.h> //基于数组的输入/输出 H|]Q;,C
#include <time.h> //定义关于时间的函数 }I"^WCyH
#include <wchar.h> //宽字符处理及输入/输出 MFrVGEQBRL
#include <wctype.h> //宽字符分类 >
ewcD{bt
{dDU^7O
////////////////////////////////////////////////////////////////////////// [||$1u\%
Ktoxl+I?
标准 C++ (同上的不再注释) sqhM[u
k
_
._'\
#include <algorithm> //STL 通用算法 t5S S]
#include <bitset> //STL 位集容器 pV_2JXM~@
#include <cctype> ^VD14V3
#include <cerrno> L]Uy+[gg
#include <clocale> k2~j:&p
#include <cmath> &}<IR\ci
#include <complex> //复数类 czafBO6
#include <cstdio> \7RP6o
#include <cstdlib> B|tP3<
#include <cstring> EyhQjsaT
#include <ctime> n,`&f~tap
#include <deque> //STL 双端队列容器 r>Vgo):s
#include <exception> //异常处理类 MOXDR
#include <fstream> -g~$HTsGm
#include <functional> //STL 定义运算函数(代替运算符) vq|W&
#include <limits> =4G9ev
4
#include <list> //STL 线性列表容器 {=TD^>?
#include <map> //STL 映射容器 _("{fJ,A
#include <iomanip> w1[F]|
#include <ios> //基本输入/输出支持 ^XV$J-
#include <iosfwd> //输入/输出系统使用的前置声明 n<MH\.!tM
#include <iostream> KdUmetx1
#include <istream> //基本输入流 DEIn:d
#include <ostream> //基本输出流 )!'SSVaRs
#include <queue> //STL 队列容器 {$b]K-B
#include <set> //STL 集合容器 p tMysYT'
#include <sstream> //基于字符串的流 wJip{
#include <stack> //STL 堆栈容器 dAR):ZKq?
#include <stdexcept> //标准异常类 u>}k+8~
#include <streambuf> //底层输入/输出支持 7tJPjp4l
#include <string> //字符串类 9M<{@<]dm
#include <utility> //STL 通用模板类 |+%K89W
#include <vector> //STL 动态数组容器 +`zM^'^$
#include <cwchar> fDf:Jec`[
#include <cwctype> 'F1NBL
.Um.dXBYU
using namespace std; CtS*"c,j
SBs_rhe
////////////////////////////////////////////////////////////////////////// *:wu{3g}M`
[/xw5rO%
C99 增加 7i`8 c =.
p3&w/K{L6w
#include <complex.h> //复数处理 d
n3sh<
#include <fenv.h> //浮点环境 J=ZNx;{6
#include <inttypes.h> //整数格式转换 1-4W4"#
#include <stdbool.h> //布尔环境 ULj'DzlfH
#include <stdint.h> //整型环境 ,*Jm\u
#include <tgmath.h> //通用类型数学宏