C、传统 C++ %-.;sO=g
fxr#T'i
#include <assert.h> //设定插入点 S7PWP<9
#include <ctype.h> //字符处理 hKWWN`;b !
#include <errno.h> //定义错误码 S
>CKm:7
#include <float.h> //浮点数处理 %Pt){9b
#include <fstream.h> //文件输入/输出 |m
?ZE:
#include <iomanip.h> //参数化输入/输出 fHH
#include <iostream.h> //数据流输入/输出 Rc1k_fZ}
#include <limits.h> //定义各种数据类型最值常量 xb9+- {<J
#include <locale.h> //定义本地化函数 S 593wfc
#include <math.h> //定义数学函数 g; ]'
#include <stdio.h> //定义输入/输出函数 IVxZ.5:L$
#include <stdlib.h> //定义杂项函数及内存分配函数 1TGRIe)
#include <string.h> //字符串处理 2xX:Q'\2
#include <strstrea.h> //基于数组的输入/输出 cY_ke
#include <time.h> //定义关于时间的函数 fCJjFL:
#include <wchar.h> //宽字符处理及输入/输出 [?KGLUmTAI
#include <wctype.h> //宽字符分类 Q1?*+]
aVc{ aP
////////////////////////////////////////////////////////////////////////// fPPP|
SZHgXl3:
标准 C++ (同上的不再注释) pWJEFm
*`Vm ncv3
#include <algorithm> //STL 通用算法 `V\?YS}
#include <bitset> //STL 位集容器 *tEqu%N1'
#include <cctype> H;=Fq+
#include <cerrno> vI5lp5( -3
#include <clocale> p`c_5!H
#include <cmath> )hj:Xpj9#
#include <complex> //复数类 E
BBd
#include <cstdio> tLfhW1"
#include <cstdlib> Cgh84
2%
#include <cstring> NE8W--Cg|
#include <ctime> wT::b V{
#include <deque> //STL 双端队列容器 xHJkzI
#include <exception> //异常处理类 zp1ym}9M
#include <fstream> E8}evi
#include <functional> //STL 定义运算函数(代替运算符) bG@2f"
#include <limits> x6s|al
#include <list> //STL 线性列表容器 <]LljTm`i
#include <map> //STL 映射容器 $Emu*'
#include <iomanip> e}d(.H%l0
#include <ios> //基本输入/输出支持 G`>]ng
#include <iosfwd> //输入/输出系统使用的前置声明 !+^'Ej)z
#include <iostream> %'H DP3
#include <istream> //基本输入流 Xzf,S;XV~
#include <ostream> //基本输出流 BrwC9:
#include <queue> //STL 队列容器 k_0@,b3
#include <set> //STL 集合容器 HRDpFMA/~
#include <sstream> //基于字符串的流 p.=9[`
#include <stack> //STL 堆栈容器 ;t\h"K<,|
#include <stdexcept> //标准异常类 }A24;'}
#include <streambuf> //底层输入/输出支持 M]/aW
#include <string> //字符串类 # Q^".#
#include <utility> //STL 通用模板类 }a6t <m`V
#include <vector> //STL 动态数组容器 Ls9NQy
#include <cwchar> cpltTJFg
#include <cwctype> NSB6 2
Kh(`6 f
using namespace std; f=R+]XPzz
gaY&2
////////////////////////////////////////////////////////////////////////// d"#Zp
j"69uj` R
C99 增加 ~,HFd`
jBw)8~tYm
#include <complex.h> //复数处理 eNAxVF0
#include <fenv.h> //浮点环境 - Fbp!*.
u
#include <inttypes.h> //整数格式转换 YoKyiO!
#include <stdbool.h> //布尔环境 'YNdrvz
#include <stdint.h> //整型环境 1" cv5U
#include <tgmath.h> //通用类型数学宏