C、传统 C++ E@%9u#
|w3b!
#include <assert.h> //设定插入点 09L"~:rg
#include <ctype.h> //字符处理 sm9/sX!
#include <errno.h> //定义错误码 A4
#include <float.h> //浮点数处理 JNk6:j&Pf
#include <fstream.h> //文件输入/输出 ~H~iKl}|7
#include <iomanip.h> //参数化输入/输出 {Ne5*HFV
#include <iostream.h> //数据流输入/输出 Z0#&D&2sV
#include <limits.h> //定义各种数据类型最值常量 |Ta-D++]'
#include <locale.h> //定义本地化函数 9_ru*j\
#include <math.h> //定义数学函数 N6UPD11}6
#include <stdio.h> //定义输入/输出函数 wpI_yp
#include <stdlib.h> //定义杂项函数及内存分配函数 -lqsFaW
#include <string.h> //字符串处理 5R}K8"d
#include <strstrea.h> //基于数组的输入/输出 _6!@>`u~
#include <time.h> //定义关于时间的函数 =%Z5"];
#include <wchar.h> //宽字符处理及输入/输出 i2&I<:
#include <wctype.h> //宽字符分类 DqN<bu2
6i`Y]\X~#
////////////////////////////////////////////////////////////////////////// U6x$R O!
%ZbdWHO#
标准 C++ (同上的不再注释) |D1:~z
Xdl7'~k
#include <algorithm> //STL 通用算法 Ahf71YP
#include <bitset> //STL 位集容器 oGvk,mh"(
#include <cctype> *VV#o/Qp
#include <cerrno> 8_:j.(n
#include <clocale> +Z=%4
#include <cmath> a>8&B
#include <complex> //复数类 *F;W 1TF
#include <cstdio> X`JoXNqm
#include <cstdlib> 53>(2 _/[r
#include <cstring> 1jE {]/Y7&
#include <ctime> 'F3@Xh
#include <deque> //STL 双端队列容器 5!aI~(3<
#include <exception> //异常处理类 5n1`$T.WG
#include <fstream> u8gqWsvruM
#include <functional> //STL 定义运算函数(代替运算符) >">Xd@Wk
#include <limits> t{,e{oZx
#include <list> //STL 线性列表容器 /PbMt
#include <map> //STL 映射容器 Dl,sl>{
#include <iomanip> egH,7f(yP
#include <ios> //基本输入/输出支持 FAX[|p
#include <iosfwd> //输入/输出系统使用的前置声明 |T]&8Q)S
#include <iostream> C~pQJ@bF0
#include <istream> //基本输入流 wPq9`9 #
#include <ostream> //基本输出流 FjMKb
#include <queue> //STL 队列容器 nw#AKtd@x
#include <set> //STL 集合容器 ,5j3(Lk
#include <sstream> //基于字符串的流 ZXXJ!9-&+J
#include <stack> //STL 堆栈容器 nW<nOKTnk_
#include <stdexcept> //标准异常类 1/i1o nu}
#include <streambuf> //底层输入/输出支持 %Y"pVBc
#include <string> //字符串类 # ,97 ]
#include <utility> //STL 通用模板类 Vbe@S?u-
#include <vector> //STL 动态数组容器 bZ:xH48MY
#include <cwchar> Z>3m-:-e
#include <cwctype> 'X6Z:dZY
o^Lq8u;i*
using namespace std; *$`N5;7'`
wm Ie x
////////////////////////////////////////////////////////////////////////// _l1"X ^Aa
:RxMZwa=
C99 增加 Zu~w:uNmU
ef_H*e
#include <complex.h> //复数处理 q'4P/2)va
#include <fenv.h> //浮点环境 "K$c 9Z8
#include <inttypes.h> //整数格式转换 o`!#io
#include <stdbool.h> //布尔环境 ob'"
^LO\
#include <stdint.h> //整型环境 %d*0"<v
#include <tgmath.h> //通用类型数学宏