C、传统 C++ K!JXsdHK
]
BJ]
#include <assert.h> //设定插入点 q13bV
#include <ctype.h> //字符处理 8:x{
#include <errno.h> //定义错误码 Q*W`mFul
#include <float.h> //浮点数处理 )YP"\E
#include <fstream.h> //文件输入/输出 gCVgL]jj(
#include <iomanip.h> //参数化输入/输出 y)s+ /Teb
#include <iostream.h> //数据流输入/输出 *~t&Ux#hj
#include <limits.h> //定义各种数据类型最值常量 * [\H)L z
#include <locale.h> //定义本地化函数 0""t`y&
#include <math.h> //定义数学函数 pCE,l'Xa
#include <stdio.h> //定义输入/输出函数 &.>
2@
#include <stdlib.h> //定义杂项函数及内存分配函数 +zU[rhMk'
#include <string.h> //字符串处理 0gI^GJN%Y!
#include <strstrea.h> //基于数组的输入/输出 }67lL~L
#include <time.h> //定义关于时间的函数 baD`k?](
#include <wchar.h> //宽字符处理及输入/输出 l(o#N'!j4
#include <wctype.h> //宽字符分类 PD-<D~7
tSP)'N<
////////////////////////////////////////////////////////////////////////// n#{z"G
4\cJ}p}LZ{
标准 C++ (同上的不再注释) ~HW}Wik
Znv3h
#include <algorithm> //STL 通用算法 xJQ-k/`
#include <bitset> //STL 位集容器 &2~c,] 9C
#include <cctype> o@&Hc bN^
#include <cerrno> 5#DtaVz
#include <clocale> w?r
#include <cmath> #6'x-Z_
#include <complex> //复数类 &!@7+'])
#include <cstdio> q_h=O1W
#include <cstdlib> :sf(=Y.qA
#include <cstring> 9^ DXw!
#include <ctime> J=%(f1X<W
#include <deque> //STL 双端队列容器 20Umjw.D
#include <exception> //异常处理类 b3>`%?A
#include <fstream> i'[o,dbE
#include <functional> //STL 定义运算函数(代替运算符) 0|RFsJ"
#include <limits> hSg4A=y
#include <list> //STL 线性列表容器 r )EuH.z
#include <map> //STL 映射容器 cc*xHv^
#include <iomanip> CJ@G8>
#include <ios> //基本输入/输出支持 Rxg^vM*
#include <iosfwd> //输入/输出系统使用的前置声明 l*v6U'J
#include <iostream> F%Xj'=
#include <istream> //基本输入流 7a,/DI2o
#include <ostream> //基本输出流 Y-0o>:SM
#include <queue> //STL 队列容器 ]vFtByqn
#include <set> //STL 集合容器 Sk~( t
#include <sstream> //基于字符串的流 0Gq}x;8H&
#include <stack> //STL 堆栈容器 )A@i2I
#include <stdexcept> //标准异常类 j>OuNeo@4
#include <streambuf> //底层输入/输出支持
$Ur-Q d
#include <string> //字符串类 wM]j#
#include <utility> //STL 通用模板类 O&]P
u5
#include <vector> //STL 动态数组容器 ,?'":T1[
#include <cwchar> 4axc05
#include <cwctype> ceW,A`J
U_X /
using namespace std; w7(jSPB
P?.j
w I
////////////////////////////////////////////////////////////////////////// 3M?vK(zG>P
c]u^0X?&
C99 增加 LD.^.4{c:
[m}58?0~x
#include <complex.h> //复数处理 da'7*
&/
#include <fenv.h> //浮点环境 ,KfBG<3
#include <inttypes.h> //整数格式转换 dbmty|d
#include <stdbool.h> //布尔环境 Y&G]M
#include <stdint.h> //整型环境 1 2Lc$\3P
#include <tgmath.h> //通用类型数学宏