C、传统 C++ G[pDKELL
hJ>Kfm
#include <assert.h> //设定插入点 /CE]7m,7~K
#include <ctype.h> //字符处理 2$fFl,v!z
#include <errno.h> //定义错误码 nQ$4W
#include <float.h> //浮点数处理 06Irx^n
#include <fstream.h> //文件输入/输出 XVlZ:kz
#include <iomanip.h> //参数化输入/输出 4F-r }Fj3
#include <iostream.h> //数据流输入/输出 n )n>|w_
#include <limits.h> //定义各种数据类型最值常量 ?tf/#5t}
#include <locale.h> //定义本地化函数 C0eqCu)Q
#include <math.h> //定义数学函数 5)T=^"IHXi
#include <stdio.h> //定义输入/输出函数 :skNEY].
#include <stdlib.h> //定义杂项函数及内存分配函数 ptCFW_UV
#include <string.h> //字符串处理 BotGPk><c
#include <strstrea.h> //基于数组的输入/输出 AB.gVw|
4
#include <time.h> //定义关于时间的函数 )t$<FP
#include <wchar.h> //宽字符处理及输入/输出 &gNb+z+
#include <wctype.h> //宽字符分类 &EELq"5K
Nx%]dOa
////////////////////////////////////////////////////////////////////////// 8Moe8X#3
:Z}d#Rbl
标准 C++ (同上的不再注释) :75$e%'A
)*b
dG'}
#include <algorithm> //STL 通用算法 d~G, *
#include <bitset> //STL 位集容器 ']bpsn
#include <cctype> (.CEEWj%{
#include <cerrno> dTE(+M-
Gr
#include <clocale> {pV\]E\]
#include <cmath> GH6 HdZ
#include <complex> //复数类 #[Z1W8e
#include <cstdio> !mM`+XH
#include <cstdlib> i42M.M6D $
#include <cstring> 0ESxsba
#include <ctime> ];3]/b)&
#include <deque> //STL 双端队列容器 ?yfw3s
#include <exception> //异常处理类 d(=*@epjR
#include <fstream> (}1:]D{)@V
#include <functional> //STL 定义运算函数(代替运算符) I3ZlKI
#include <limits> ?4[IIX-
#include <list> //STL 线性列表容器 p4Wy2.&Q
#include <map> //STL 映射容器 C1x"q9|\`
#include <iomanip> \V1geSoE
#include <ios> //基本输入/输出支持 ;Sc}e/WJj
#include <iosfwd> //输入/输出系统使用的前置声明 *_qW;l7
#include <iostream> Ib~n}SA
#include <istream> //基本输入流 rt_k }
#include <ostream> //基本输出流 {\SJr:
#include <queue> //STL 队列容器 9{A[n}
#include <set> //STL 集合容器 -msfiO
#include <sstream> //基于字符串的流 I}Fv4wlZG
#include <stack> //STL 堆栈容器 RF#S=X6
#include <stdexcept> //标准异常类 /"f4aF[
#include <streambuf> //底层输入/输出支持 b_'VWd:am
#include <string> //字符串类 B@8M2Pl
#include <utility> //STL 通用模板类 $4*wK@xu
#include <vector> //STL 动态数组容器 y{?wxg9
#include <cwchar> "B$r{ vG
#include <cwctype> [myIcLp^aP
[}GPo0GY
using namespace std; M<%g )jn_
+(pFU\&U3H
////////////////////////////////////////////////////////////////////////// 0bcbH9) 1q
@_ZE_n
C99 增加 n/&}|998?
.8v[ss6:
#include <complex.h> //复数处理 qubyZ8hx
#include <fenv.h> //浮点环境 Uyuvmt>
#include <inttypes.h> //整数格式转换 cl'#nLPz;
#include <stdbool.h> //布尔环境 B5pWSS
#include <stdint.h> //整型环境 |})7\o
#include <tgmath.h> //通用类型数学宏