C、传统 C++ lc2RMu
J=C63YB
#include <assert.h> //设定插入点 8'6$t@oT9w
#include <ctype.h> //字符处理 K]Onb{QY
#include <errno.h> //定义错误码 e<[0H 8
#include <float.h> //浮点数处理 OGqsQ
#include <fstream.h> //文件输入/输出 , %%}d9
#include <iomanip.h> //参数化输入/输出 F_&bE@k
#include <iostream.h> //数据流输入/输出 0[T>UEI?
#include <limits.h> //定义各种数据类型最值常量 WbP*kV{
#include <locale.h> //定义本地化函数 jwd{CN%
#include <math.h> //定义数学函数 &9F(uk=X
#include <stdio.h> //定义输入/输出函数 8x9$6HO
#include <stdlib.h> //定义杂项函数及内存分配函数 {IpIQ-@l
#include <string.h> //字符串处理 e=%6\&q
#include <strstrea.h> //基于数组的输入/输出 lYMNx|PF
#include <time.h> //定义关于时间的函数 1-bQ
( -
#include <wchar.h> //宽字符处理及输入/输出 n%YG)5;
#include <wctype.h> //宽字符分类 1_z6O!rx
;c;n.o.)/#
////////////////////////////////////////////////////////////////////////// hfuGCD6F`
' N?t=A
标准 C++ (同上的不再注释) @ dF]X
g2'Q)w
#include <algorithm> //STL 通用算法 }475c{
#include <bitset> //STL 位集容器 @lnM%
#include <cctype> 3!V$fl0
#include <cerrno> p/f!\
#include <clocale> Y!tjaL 9D
#include <cmath> >&3ATH;&(
#include <complex> //复数类 q4rDAQyPO
#include <cstdio> :&oUI&(o
#include <cstdlib> r!7e:p JLO
#include <cstring> /NDuAjp[@
#include <ctime> G]- wN7G
#include <deque> //STL 双端队列容器 MlM2(/ok
#include <exception> //异常处理类 T|&2!Sh
#include <fstream> 4:
<=%d
#include <functional> //STL 定义运算函数(代替运算符) L!]~J?)
#include <limits> pt!Q%rXm
#include <list> //STL 线性列表容器 3]9twfF 'J
#include <map> //STL 映射容器 P_w\d/3
#include <iomanip> X;?Z_3I:5
#include <ios> //基本输入/输出支持 7JNy;$]/
#include <iosfwd> //输入/输出系统使用的前置声明 l6S6Y
#include <iostream> A|esVUo<3^
#include <istream> //基本输入流 9IRvbE~2
#include <ostream> //基本输出流 _\tGmME37
#include <queue> //STL 队列容器 GK/Q]}Q8pZ
#include <set> //STL 集合容器 U8b1
sz
#include <sstream> //基于字符串的流 J '^xDIZX
#include <stack> //STL 堆栈容器 8uO@S*)0
#include <stdexcept> //标准异常类 /<s$Am
#include <streambuf> //底层输入/输出支持 f @cs<x
#include <string> //字符串类 #!FLX*,
#include <utility> //STL 通用模板类 n6a*|rE
#include <vector> //STL 动态数组容器 >Lo!8Hen
#include <cwchar> dWI.t1`i
#include <cwctype> $.z~bmH"D
+H K)A%QI
using namespace std; yeCR{{B/'
<9s=K\-
////////////////////////////////////////////////////////////////////////// f2#9E+IQ
R "&(Ae?LR
C99 增加 /Lc=
K<
4P>tGO&*x
#include <complex.h> //复数处理 7Pc0|Z/
#include <fenv.h> //浮点环境 w$5N6
#include <inttypes.h> //整数格式转换 Vd{h|=J
#include <stdbool.h> //布尔环境 #NVqS5
#include <stdint.h> //整型环境 WR*|kh
#include <tgmath.h> //通用类型数学宏