C、传统 C++ :-oMkBS
b"w@am>&
#include <assert.h> //设定插入点 C]Q}HI#G
#include <ctype.h> //字符处理 P 2)/!+`a
#include <errno.h> //定义错误码 se*k56,
#include <float.h> //浮点数处理 RV%)~S@!R
#include <fstream.h> //文件输入/输出 <7`U1DR=
#include <iomanip.h> //参数化输入/输出 4<Kxo\\S
#include <iostream.h> //数据流输入/输出 M9?f`9
#include <limits.h> //定义各种数据类型最值常量 yYdh+ x
#include <locale.h> //定义本地化函数 sK8sxy
#include <math.h> //定义数学函数 :"cKxd
#include <stdio.h> //定义输入/输出函数 8y;gs1d;A
#include <stdlib.h> //定义杂项函数及内存分配函数 rA}mp]
#include <string.h> //字符串处理 X XxH<E$p
#include <strstrea.h> //基于数组的输入/输出 hx ^ l
#include <time.h> //定义关于时间的函数 Xh }G=1}
#include <wchar.h> //宽字符处理及输入/输出 6VLo4bq 5
#include <wctype.h> //宽字符分类 "bz]5c~
v>_83P`
////////////////////////////////////////////////////////////////////////// U^]@0vR
cUn>gT
标准 C++ (同上的不再注释) `>
+:38
/#zs
#include <algorithm> //STL 通用算法 oA3;P]~[
#include <bitset> //STL 位集容器 *:ErZ UyQM
#include <cctype> )nrYxxN
#include <cerrno> J[c`Qq:&e
#include <clocale> L
nyow}
#include <cmath> Pk=0pHH8q
#include <complex> //复数类 -Ua&/Yd/}
#include <cstdio> Z/d {v:)
#include <cstdlib> `uC^"R(m
#include <cstring> $i1:--~2\
#include <ctime> Rln\
#include <deque> //STL 双端队列容器 $:&b5=i
#include <exception> //异常处理类 ElK Md
#include <fstream> vOv"^X
#include <functional> //STL 定义运算函数(代替运算符) 8Wgzca
Q*
#include <limits> HVK0NI
#include <list> //STL 线性列表容器 )TEod!]
#include <map> //STL 映射容器 t%Bh'HkG
#include <iomanip> $-]I?cWlQ
#include <ios> //基本输入/输出支持 Lcf?VV}
#include <iosfwd> //输入/输出系统使用的前置声明 U2CC#,b!(
#include <iostream> 8fktk?|
#include <istream> //基本输入流 q/ (h{cq
#include <ostream> //基本输出流 x+b.9f4xJ
#include <queue> //STL 队列容器 VCwC$ts
#include <set> //STL 集合容器 +O^} t
#include <sstream> //基于字符串的流 ,C|{_4
#include <stack> //STL 堆栈容器 pCC^Hxa
#include <stdexcept> //标准异常类 Wr-I~>D%_
#include <streambuf> //底层输入/输出支持 X*9-P9x(6
#include <string> //字符串类 Q$sC%P(y
#include <utility> //STL 通用模板类 EAy@kzY?
#include <vector> //STL 动态数组容器 #g'j0N
#include <cwchar> ]c
bXI
#include <cwctype> R7O<>kt
^ E.mG>
using namespace std; Q<KF<K'0hg
%(]B1Zg6,
////////////////////////////////////////////////////////////////////////// ?bg
/%o
zKp R:F
C99 增加 & eqqgLz
*9aI\#}
#include <complex.h> //复数处理 _>;{+XRX[
#include <fenv.h> //浮点环境 XVb9)a
#include <inttypes.h> //整数格式转换 L-9;"]d~|
#include <stdbool.h> //布尔环境 i0*Cs#(=h
#include <stdint.h> //整型环境 pG'?>]Rt4
#include <tgmath.h> //通用类型数学宏