C、传统 C++ '_q: vjX
8CHb~m@^$
#include <assert.h> //设定插入点 '+o:,6
#include <ctype.h> //字符处理 y)?W-5zL
#include <errno.h> //定义错误码 N&0uXrw
#include <float.h> //浮点数处理 O ,Pl7x%tK
#include <fstream.h> //文件输入/输出 p?dGZ2` [I
#include <iomanip.h> //参数化输入/输出 naec"Kut
#include <iostream.h> //数据流输入/输出 w5dIk]T
#include <limits.h> //定义各种数据类型最值常量 c8k6(#\
#include <locale.h> //定义本地化函数 E3CiZ4=5
#include <math.h> //定义数学函数 ,Az`6PW
#include <stdio.h> //定义输入/输出函数 bR>o!(M'Z\
#include <stdlib.h> //定义杂项函数及内存分配函数 &%f ]-=~
#include <string.h> //字符串处理 68&6J's;
#include <strstrea.h> //基于数组的输入/输出 QrNL7{
#include <time.h> //定义关于时间的函数 ;
McIxvj
#include <wchar.h> //宽字符处理及输入/输出 >gX0Ij#G
#include <wctype.h> //宽字符分类 ]YisZE4s
|xsV(jK8
////////////////////////////////////////////////////////////////////////// $nGbT4sc
j=xtnIq
标准 C++ (同上的不再注释) 5{R#h :
Se^/VVm
#include <algorithm> //STL 通用算法 y (c|5CQ
#include <bitset> //STL 位集容器 V7B=+(xK
#include <cctype> Y^c,mK^
#include <cerrno> APHtJoS
#include <clocale> LH3N}J({
#include <cmath> *! r\GGb
#include <complex> //复数类 o@<6TlZM
#include <cstdio> s3MMICRT.
#include <cstdlib> E]u'MX
#include <cstring> Z!]U&Ax`Z
#include <ctime> Q
!RVD*(
#include <deque> //STL 双端队列容器 \pewbu5^
#include <exception> //异常处理类 u/!mN2{Rd
#include <fstream> ;G%wc!
#include <functional> //STL 定义运算函数(代替运算符) 7U{b+=,wK
#include <limits> PxP?hk
#include <list> //STL 线性列表容器 }l]3m=)
#include <map> //STL 映射容器 :"<B@Z
#include <iomanip> L!8 -:)0b
#include <ios> //基本输入/输出支持 AjL?Qh4
#include <iosfwd> //输入/输出系统使用的前置声明 JL.ydH79
#include <iostream> "x:)$@
#include <istream> //基本输入流 |L.~Amd
#include <ostream> //基本输出流 |oBdryi
#include <queue> //STL 队列容器 \c9t]py<.h
#include <set> //STL 集合容器 pE(<XD3Q
#include <sstream> //基于字符串的流 YL9t3]
#include <stack> //STL 堆栈容器 g6@N PQ
#include <stdexcept> //标准异常类 Eis%)oE
#include <streambuf> //底层输入/输出支持 VHgF#6'
#include <string> //字符串类 r_g\_y7ua
#include <utility> //STL 通用模板类 .kB3jfw0,
#include <vector> //STL 动态数组容器 SVg@xu+
#include <cwchar> d5sGkR`(
#include <cwctype> 4ye`;hXy
CQ8o9A/
using namespace std; G7/?hky 0.
YzhN |!;!k
//////////////////////////////////////////////////////////////////////////
cT>z
AG$-U2ap
C99 增加 \6`%NhkM_
/ie3H,2
#include <complex.h> //复数处理 <_sT]?N#
#include <fenv.h> //浮点环境 t7!>5e)C}
#include <inttypes.h> //整数格式转换 ;GSFQ:m[
#include <stdbool.h> //布尔环境 eX
l%Qs#Y
#include <stdint.h> //整型环境 n7, 6a
#include <tgmath.h> //通用类型数学宏