C、传统 C++ V3ozaVk;
=tD*,2]
#include <assert.h> //设定插入点 nfF$h}<o+
#include <ctype.h> //字符处理 K7`6G[RMb
#include <errno.h> //定义错误码 hUi@T}aA|
#include <float.h> //浮点数处理 uKAI->"
#include <fstream.h> //文件输入/输出 ;iuwIdo6c
#include <iomanip.h> //参数化输入/输出 tgKr*8t{
#include <iostream.h> //数据流输入/输出 D%]S>g5k
#include <limits.h> //定义各种数据类型最值常量 is8i_FoD,n
#include <locale.h> //定义本地化函数 `{:Nt#7
#include <math.h> //定义数学函数 Ht;Rz*}
#include <stdio.h> //定义输入/输出函数 GIzB1cl:
#include <stdlib.h> //定义杂项函数及内存分配函数 Op-z"inw
#include <string.h> //字符串处理 )9"^ D
#include <strstrea.h> //基于数组的输入/输出 2pdeJ
#include <time.h> //定义关于时间的函数 FShjUl>mV
#include <wchar.h> //宽字符处理及输入/输出 I;NW!"pU
#include <wctype.h> //宽字符分类 Ur#jJR@%3
c+3`hVV
////////////////////////////////////////////////////////////////////////// QO}~"lMj
SM8N*WdiU
标准 C++ (同上的不再注释) ':pDlUA
ns>$
#include <algorithm> //STL 通用算法 E#+2)Q
#include <bitset> //STL 位集容器 RJ@79L*#
#include <cctype> ?)-6~p 4N
#include <cerrno> X3G593ts
#include <clocale> j%s,%#al
#include <cmath> @$r[$D
v
#include <complex> //复数类 **%&|9He
#include <cstdio> N_NN0
#include <cstdlib> ? Vd~
#include <cstring> eR \duZ!`
#include <ctime> BS fmS(.
#include <deque> //STL 双端队列容器 :
B&~q$
#include <exception> //异常处理类 ,Suk_aX>
#include <fstream> Axsezr/
#include <functional> //STL 定义运算函数(代替运算符) jKmjZz8L]%
#include <limits> D/Ki^E
#include <list> //STL 线性列表容器 /al56n
#include <map> //STL 映射容器 FTCIfW
#include <iomanip> x9>$197
#include <ios> //基本输入/输出支持 */h(4Hz
#include <iosfwd> //输入/输出系统使用的前置声明 a6n@
#include <iostream> >
pb}@\;:
#include <istream> //基本输入流 y!gPBkG&3n
#include <ostream> //基本输出流 xR0*w7YE
#include <queue> //STL 队列容器 V8 8u-
#include <set> //STL 集合容器 &zF>5@fM
#include <sstream> //基于字符串的流 UDr1t n
#include <stack> //STL 堆栈容器 ]%D!-[C%1
#include <stdexcept> //标准异常类 Pv5S k8
#include <streambuf> //底层输入/输出支持 #aL.E(%
#include <string> //字符串类 pRV.\*:c
#include <utility> //STL 通用模板类 P^<3 Z)L
#include <vector> //STL 动态数组容器 K9EHT-
#include <cwchar> VQpt1cK*
#include <cwctype> w>j5oz}
CWkWW/ZI
using namespace std; "}Om0rB}1
tcj"rV{G
////////////////////////////////////////////////////////////////////////// <@(\z
>u>
E !5O
C99 增加 b\ED<'
:bct+J}l~
#include <complex.h> //复数处理 O80Z7
#include <fenv.h> //浮点环境 xcw:H&\w6
#include <inttypes.h> //整数格式转换 Oh1U=V2~
#include <stdbool.h> //布尔环境 ]7_>l>
#include <stdint.h> //整型环境 g/.FJ-I*
#include <tgmath.h> //通用类型数学宏