C、传统 C++ E&zf<Y
_*6]4\;
#include <assert.h> //设定插入点 Ajm!;LA[jO
#include <ctype.h> //字符处理 =~h b&
#include <errno.h> //定义错误码 ];hqI O#nM
#include <float.h> //浮点数处理 A6]X
aF
#include <fstream.h> //文件输入/输出 M%`CzCL
u
#include <iomanip.h> //参数化输入/输出 BP@tI|
#include <iostream.h> //数据流输入/输出 P0}{xq'k9v
#include <limits.h> //定义各种数据类型最值常量 qsp.`9!
#include <locale.h> //定义本地化函数 Hvm}@3F|
#include <math.h> //定义数学函数 o& FOp'
#include <stdio.h> //定义输入/输出函数 8#yu.\N.xt
#include <stdlib.h> //定义杂项函数及内存分配函数 [oVM9Q
#include <string.h> //字符串处理 wK-VA$;:
#include <strstrea.h> //基于数组的输入/输出 UgGa]b[9A
#include <time.h> //定义关于时间的函数 XLt/$Caf
#include <wchar.h> //宽字符处理及输入/输出 {73V?#P4
#include <wctype.h> //宽字符分类 KhfADqji|
h'-4nu;*
////////////////////////////////////////////////////////////////////////// 'G l~P><e
H%@f ^
标准 C++ (同上的不再注释) S[3"?$3S
yO1
7C
#include <algorithm> //STL 通用算法 1v]%FC`
#include <bitset> //STL 位集容器 PiKP.
#include <cctype> S4_/%~?
#include <cerrno> XeI2<=@%
#include <clocale> " _2k3
#include <cmath> 71R,R,
#include <complex> //复数类 EcB
!bf
#include <cstdio> \s&Mz;:
#include <cstdlib> _M`ZF*o=c
#include <cstring> 1z8"Gk6
#include <ctime> &|Duc} t
#include <deque> //STL 双端队列容器 Y 3ApW vS
#include <exception> //异常处理类 'NlhLu
#include <fstream> -{cmi,oy
#include <functional> //STL 定义运算函数(代替运算符) oN,1ig
#include <limits> ":udo VS!
#include <list> //STL 线性列表容器 Jr!BDg
#include <map> //STL 映射容器 sr6BC.
#include <iomanip> 8<C*D".T$
#include <ios> //基本输入/输出支持 <l5i%?
#include <iosfwd> //输入/输出系统使用的前置声明 k)n
b<JW|r
#include <iostream> h+1|.d
#include <istream> //基本输入流 RJWO h
#include <ostream> //基本输出流 1X2j%qI&
#include <queue> //STL 队列容器 +-<G(^
#include <set> //STL 集合容器 ;98&5X\u<
#include <sstream> //基于字符串的流 GJ*IH9YR
#include <stack> //STL 堆栈容器 }pMVl
#include <stdexcept> //标准异常类 w[-)c6J yE
#include <streambuf> //底层输入/输出支持 !vgY3S0?rq
#include <string> //字符串类 0A)0Zw
#include <utility> //STL 通用模板类 ,>-D xS
#include <vector> //STL 动态数组容器 <==uK>pET
#include <cwchar> ,-AF8BP
#include <cwctype> x
7by|G(
s-"KABEE
using namespace std; s?EQ
wSjDa.?'
////////////////////////////////////////////////////////////////////////// g{]6*`/Z
rC-E+%y
C99 增加 {6ZSf[Y6B
.|O T#"LP
#include <complex.h> //复数处理 3<^Up1CaZ
#include <fenv.h> //浮点环境 A2 +%
#include <inttypes.h> //整数格式转换 q%4X1 W
#include <stdbool.h> //布尔环境 jKml:)k
#include <stdint.h> //整型环境 0zH-g
#include <tgmath.h> //通用类型数学宏