C、传统 C++ (V9 ;
m+9~f_}
#include <assert.h> //设定插入点 Qs7*_=+h
#include <ctype.h> //字符处理 v 5dLjy5
#include <errno.h> //定义错误码 BSHtoD@e7
#include <float.h> //浮点数处理 !FHm.E_>
#include <fstream.h> //文件输入/输出 [ %6(1$Ih
#include <iomanip.h> //参数化输入/输出 a+PVi
#include <iostream.h> //数据流输入/输出 C9L_`[9DO
#include <limits.h> //定义各种数据类型最值常量 YK%rTbB(
#include <locale.h> //定义本地化函数 z`(">J
#include <math.h> //定义数学函数 W?X3 :1c9:
#include <stdio.h> //定义输入/输出函数 eH^~r{{R
#include <stdlib.h> //定义杂项函数及内存分配函数 <Xl/U^B
#include <string.h> //字符串处理 u?I 2|}#
#include <strstrea.h> //基于数组的输入/输出 /[+%<5s
#include <time.h> //定义关于时间的函数 E8"$vl&c]
#include <wchar.h> //宽字符处理及输入/输出 B<oBo&uA
#include <wctype.h> //宽字符分类 8ib%CYR
oUx%ra{
////////////////////////////////////////////////////////////////////////// 2VaKt4+`
W$Sc@!M3{
标准 C++ (同上的不再注释) J/B`c(
)%vnl~i!
#include <algorithm> //STL 通用算法 *=(vIm[KL
#include <bitset> //STL 位集容器 Cxra(!&
#include <cctype> p,7,
tx
#include <cerrno> {B[ }}wX$
#include <clocale> ?tx."MZ
#include <cmath> P$5K[Y4f
#include <complex> //复数类 DT vCx6:!
#include <cstdio> -Pc6W9$
#include <cstdlib> vX|5*T`(
#include <cstring> k8 z1AP
#include <ctime> >)+N$EN
#include <deque> //STL 双端队列容器 t ^~Qv
#include <exception> //异常处理类 ziC%Q8
#include <fstream> n50WHlMtt
#include <functional> //STL 定义运算函数(代替运算符) Y&-%
N
#include <limits> lRR A2Kql
#include <list> //STL 线性列表容器 ZdgzPs"
#include <map> //STL 映射容器 H{hzw&dZ<P
#include <iomanip> iF
Zq oz
#include <ios> //基本输入/输出支持 0+F--E4
#include <iosfwd> //输入/输出系统使用的前置声明 N`?|~g3
#include <iostream> Bal e_s^
#include <istream> //基本输入流 3!$+N\ #w
#include <ostream> //基本输出流 =fJU+N+<
#include <queue> //STL 队列容器 &,yF{9$G
#include <set> //STL 集合容器 C+g}+
#include <sstream> //基于字符串的流 ~(8f Uob
#include <stack> //STL 堆栈容器 >lKu[nq;
#include <stdexcept> //标准异常类 8&M<?oe
#include <streambuf> //底层输入/输出支持 ="v`W'Pd
#include <string> //字符串类 eh>
|m>JY
#include <utility> //STL 通用模板类 r}es_9*~Z
#include <vector> //STL 动态数组容器 YC')vv3o(
#include <cwchar> H6{Bx2J1*
#include <cwctype> M[~{!0Uz
g
7e\Jg/FU
using namespace std; |'z24 :8
{@F'BB\
////////////////////////////////////////////////////////////////////////// = pn;b1=
;S
\s&. u
C99 增加 '%wSs,HD
rZ|p{ym
#include <complex.h> //复数处理 @6|<c
#include <fenv.h> //浮点环境 n}_}#(a
#include <inttypes.h> //整数格式转换 : NA(nA
3
#include <stdbool.h> //布尔环境 ZE-vroh
#include <stdint.h> //整型环境
y*ZA{
#include <tgmath.h> //通用类型数学宏