C、传统 C++ @9e}kiW
nXT/zfS
#include <assert.h> //设定插入点 F^Y%Q(Dd7w
#include <ctype.h> //字符处理 WXs?2S*
#include <errno.h> //定义错误码 o6/"IIso3
#include <float.h> //浮点数处理 #;])/8R%
#include <fstream.h> //文件输入/输出 :%4N4|
Q
#include <iomanip.h> //参数化输入/输出 WS6;ad;|
#include <iostream.h> //数据流输入/输出 !I jU *c@
#include <limits.h> //定义各种数据类型最值常量 M px98xcO
#include <locale.h> //定义本地化函数 P\ia ?9
#include <math.h> //定义数学函数 {%+UQ!]d8
#include <stdio.h> //定义输入/输出函数 X-y3CO:&@h
#include <stdlib.h> //定义杂项函数及内存分配函数 Jq*Q;}n
#include <string.h> //字符串处理 v83@J~
#include <strstrea.h> //基于数组的输入/输出 CxD=8X9m
#include <time.h> //定义关于时间的函数 j@s* hZ^J+
#include <wchar.h> //宽字符处理及输入/输出 \#!B*:u
#include <wctype.h> //宽字符分类 M3VTzwuf^S
M)"'Q6ck=
////////////////////////////////////////////////////////////////////////// PS3jCT
;Sl%I+?
标准 C++ (同上的不再注释) +yI2G!
$T9
"SA*
#include <algorithm> //STL 通用算法 G$[Hm\V
#include <bitset> //STL 位集容器 nIWY<Z"
#include <cctype> |)y-EBZe\"
#include <cerrno> \OwCZ!`7i
#include <clocale> 7nPjeh
#include <cmath> KU^|T2s%
#include <complex> //复数类 i<{:J -U|
#include <cstdio> j;J`PH
#include <cstdlib> 4YgO1}%G
#include <cstring> wv
#include <ctime> S.; ahce
#include <deque> //STL 双端队列容器 2 b80b50
#include <exception> //异常处理类 meYGIP:n
#include <fstream> *RmD%[f
#include <functional> //STL 定义运算函数(代替运算符) R0urt
#include <limits> /5X_gjOL,
#include <list> //STL 线性列表容器 AO,^v+$
#include <map> //STL 映射容器 #sE:xIR
#include <iomanip> k'NP+N<M
#include <ios> //基本输入/输出支持 `LNKbTc[m
#include <iosfwd> //输入/输出系统使用的前置声明 D67z6jep(
#include <iostream> QYEGiT
#include <istream> //基本输入流 b%].D(qBy
#include <ostream> //基本输出流 bO*hmDt
#include <queue> //STL 队列容器 Y,?kS
dS
#include <set> //STL 集合容器 $ I
J^
#include <sstream> //基于字符串的流 +k V$ @qH
#include <stack> //STL 堆栈容器 dKY#Tl]
#include <stdexcept> //标准异常类 kP1cwmZ7F
#include <streambuf> //底层输入/输出支持 p]qz+Z/
#include <string> //字符串类 ^O& y;5
#include <utility> //STL 通用模板类 YIF|8b\
#include <vector> //STL 动态数组容器 x *a_43`
#include <cwchar> oA8A
@,-L
#include <cwctype> 5cb8=W-
:1;"{=Yx}
using namespace std; Rm}G4Pq
:o:Z
////////////////////////////////////////////////////////////////////////// r::0\{{r"p
f?TS#jG4}
C99 增加 xwj{4fzpk{
s^k<r;'\
#include <complex.h> //复数处理 2J (nJT"
#include <fenv.h> //浮点环境 bAld'z#
#include <inttypes.h> //整数格式转换 g>g*1oS
#include <stdbool.h> //布尔环境 wEw;],ur
#include <stdint.h> //整型环境 3_>=Cv}
#include <tgmath.h> //通用类型数学宏