C、传统 C++ Ex$i8fO(
$~<]G)*Z
#include <assert.h> //设定插入点 '/QS
sZR
#include <ctype.h> //字符处理 NuC+iC$_/
#include <errno.h> //定义错误码 {:c5/
,7c;
#include <float.h> //浮点数处理 BBlYy5x
#include <fstream.h> //文件输入/输出 ^;a~_9
m-
#include <iomanip.h> //参数化输入/输出 J'Y;j^
#include <iostream.h> //数据流输入/输出 ^ah9:}Ll
#include <limits.h> //定义各种数据类型最值常量 xh9Os <
#include <locale.h> //定义本地化函数 q!\4|KF~
#include <math.h> //定义数学函数 bGe@yXId5
#include <stdio.h> //定义输入/输出函数 .V`N^H:l
#include <stdlib.h> //定义杂项函数及内存分配函数 C0 %yGLh&
#include <string.h> //字符串处理 SK;c
D>)
#include <strstrea.h> //基于数组的输入/输出 o==:e
#include <time.h> //定义关于时间的函数 p5\B0G<m
#include <wchar.h> //宽字符处理及输入/输出 )lrmP(C*.a
#include <wctype.h> //宽字符分类 wOs t).
I7e.pm
////////////////////////////////////////////////////////////////////////// .FpeVjR''
?I332,,q
标准 C++ (同上的不再注释) h@yn0CU3.
j NkobJ1
#include <algorithm> //STL 通用算法 fKOC-%w
#include <bitset> //STL 位集容器 ![j?/376
#include <cctype> IcP\#zhEv
#include <cerrno> &*8_ w-
#include <clocale> VQwF9Iq]`
#include <cmath> Z=j6c"
#include <complex> //复数类 EN;s
8sC!
#include <cstdio> =WM^i86
#include <cstdlib> 5V@c~1\
#include <cstring> Wg!JQRHtT
#include <ctime> {Etvu
#include <deque> //STL 双端队列容器 yttaZhK^u
#include <exception> //异常处理类 cZlDdr%
#include <fstream> EE$\8Gx']!
#include <functional> //STL 定义运算函数(代替运算符) *Sp_s_tS
#include <limits> 9vI<\
Xa
#include <list> //STL 线性列表容器 T1=T
#include <map> //STL 映射容器 ZfP$6%;_
#include <iomanip> SZ(]su:
#include <ios> //基本输入/输出支持 (]N- HN]v
#include <iosfwd> //输入/输出系统使用的前置声明 qPF`=#
#include <iostream> U;#9^<^
#include <istream> //基本输入流 T1#r>3c\
#include <ostream> //基本输出流 :kQydCuK
#include <queue> //STL 队列容器 Bvsxn5z+:
#include <set> //STL 集合容器 < wi9
#include <sstream> //基于字符串的流 m6Mko2
#include <stack> //STL 堆栈容器 t4v@d
#include <stdexcept> //标准异常类 @jY=b<
#include <streambuf> //底层输入/输出支持 h'ik19
#include <string> //字符串类 v8f1o$R
#include <utility> //STL 通用模板类 2xK v;
#include <vector> //STL 动态数组容器 V;29ieE!
#include <cwchar> 3>QkO.b
#include <cwctype> w?:tce
@A'@%Zv-
using namespace std; ?!HU$>
O_\%8*;
////////////////////////////////////////////////////////////////////////// !QSj*)V#
W.CbNou
C99 增加 d J>~
cp$GP*{@
#include <complex.h> //复数处理 "Tz'j}< 9C
#include <fenv.h> //浮点环境 Fj4>)!^kM
#include <inttypes.h> //整数格式转换 :T )R;E@
#include <stdbool.h> //布尔环境 WT63ve
#include <stdint.h> //整型环境 a(uZ}yS$
#include <tgmath.h> //通用类型数学宏