C、传统 C++ SrtmpQ
IO'Q}bU4vs
#include <assert.h> //设定插入点 O
o:jP6r
#include <ctype.h> //字符处理 E.3}a>f
#include <errno.h> //定义错误码 /%c^ i!=f"
#include <float.h> //浮点数处理 +NY4j-O
#include <fstream.h> //文件输入/输出 ]3,0
8JW=
#include <iomanip.h> //参数化输入/输出 )X/Faje
#include <iostream.h> //数据流输入/输出 *X #e
#include <limits.h> //定义各种数据类型最值常量 ^m=%Ctu#
#include <locale.h> //定义本地化函数 >KPJ74R
#include <math.h> //定义数学函数 ]4yvTP3[Rm
#include <stdio.h> //定义输入/输出函数 O+$70
#include <stdlib.h> //定义杂项函数及内存分配函数 MocH>^,
#include <string.h> //字符串处理 &1{k^>oz
#include <strstrea.h> //基于数组的输入/输出 l1[IXw?
#include <time.h> //定义关于时间的函数 dNobvK
#include <wchar.h> //宽字符处理及输入/输出 Y<+4>Eh
#include <wctype.h> //宽字符分类 m0"\3@kB
6Ts`5$e
////////////////////////////////////////////////////////////////////////// "=(;l3-o
{Jc!T:vJ
标准 C++ (同上的不再注释) /z5lxS@#
#V6
-*
#include <algorithm> //STL 通用算法 m5pVt4
#include <bitset> //STL 位集容器 w-$w
#include <cctype> k
))*z FV
#include <cerrno> ;`B35K
#include <clocale> 4:'] 'E
#include <cmath> xNkY'4%
#include <complex> //复数类 \7/_+)0}'
#include <cstdio> G= cxc_9
#include <cstdlib> aAM UJk
#include <cstring> v~Qy{dn
P
#include <ctime> N 3c*S"1
#include <deque> //STL 双端队列容器 }hYE6~pr
#include <exception> //异常处理类 G,-OH-M!
#include <fstream> j%;)CV
G"
#include <functional> //STL 定义运算函数(代替运算符) F21[r!3
#include <limits> Z L</
#include <list> //STL 线性列表容器 ([*t.
#include <map> //STL 映射容器 DcA'{21
#include <iomanip> !&lPdEc@T
#include <ios> //基本输入/输出支持 B6\VxSX4{
#include <iosfwd> //输入/输出系统使用的前置声明 (Y)h+}n5N
#include <iostream> ?m1$*j
#include <istream> //基本输入流 ]LTc)[5Zj
#include <ostream> //基本输出流 <h=M
Rw,l
#include <queue> //STL 队列容器 ?<'W~Rm6n
#include <set> //STL 集合容器 %
eRwH
>
#include <sstream> //基于字符串的流 29^bMau)v
#include <stack> //STL 堆栈容器 3L?a4,Q"k}
#include <stdexcept> //标准异常类 GuWBl$|+b
#include <streambuf> //底层输入/输出支持 fm>K4\2
#include <string> //字符串类 ]F;]<_
#include <utility> //STL 通用模板类 2hJ3m+N^
#include <vector> //STL 动态数组容器 , ~xU>L^
#include <cwchar> "}p?pF<'0
#include <cwctype> --`LP[ll
#\BI-zt
using namespace std; [Z\1"m
?w/nZQWi
////////////////////////////////////////////////////////////////////////// .~L4#V{c~
zI! R-Nb
C99 增加 (H+[ ^(3d2
v:MS0]
#include <complex.h> //复数处理 gc3 U/
jM
#include <fenv.h> //浮点环境 OeGuq.>w
#include <inttypes.h> //整数格式转换 PV6*-[
#include <stdbool.h> //布尔环境 J.2]km
#include <stdint.h> //整型环境 ZHlin#"
#include <tgmath.h> //通用类型数学宏