C、传统 C++ ~@fanR =
zJ_My&~
#include <assert.h> //设定插入点 =t.F2'<[Z
#include <ctype.h> //字符处理 `7_n}8NVC
#include <errno.h> //定义错误码 sT1jF3
#include <float.h> //浮点数处理 "m>};.lj
#include <fstream.h> //文件输入/输出 Sf/W9Jw
#include <iomanip.h> //参数化输入/输出 rCrr"O#j
#include <iostream.h> //数据流输入/输出 Ar5JP_M`E
#include <limits.h> //定义各种数据类型最值常量 *a4
b
#include <locale.h> //定义本地化函数 :SeLkQC
#include <math.h> //定义数学函数 Y_lCcu#OA
#include <stdio.h> //定义输入/输出函数 Wa/geQE1<
#include <stdlib.h> //定义杂项函数及内存分配函数 mxhW|}_-j
#include <string.h> //字符串处理 0 r3N^_}
#include <strstrea.h> //基于数组的输入/输出 8;.` {'r
#include <time.h> //定义关于时间的函数 4Q&mC"
#include <wchar.h> //宽字符处理及输入/输出 opnkmM&[
#include <wctype.h> //宽字符分类 \S5V}!_
d<?X3&J
////////////////////////////////////////////////////////////////////////// 6#-Z@fz%
1eF@_Y^a!
标准 C++ (同上的不再注释) LOt#1Qv
U]mO7 HK
#include <algorithm> //STL 通用算法 #VR`?n?,
#include <bitset> //STL 位集容器 :|fl?{E
#include <cctype> ~,+[M-
#include <cerrno> QvNi8TB
#include <clocale> 1Kc{#+a^
#include <cmath> q8tug=c
#include <complex> //复数类 U%Ol^xl
#include <cstdio> jL2MW(d^Q
#include <cstdlib> T-!|l7V~f
#include <cstring> N$*>suQ,
#include <ctime> 4SBLu%=s%
#include <deque> //STL 双端队列容器 J ZNyC!u
#include <exception> //异常处理类 dr>]+H=3E
#include <fstream> uTUa4^]*
#include <functional> //STL 定义运算函数(代替运算符) ]Y$&78u8t
#include <limits> C}bPv+t
#include <list> //STL 线性列表容器 {{GHzW
#include <map> //STL 映射容器 DW4MA<UQ
#include <iomanip> ls]Elo8h1f
#include <ios> //基本输入/输出支持 5I_hh?N4Z
#include <iosfwd> //输入/输出系统使用的前置声明 ]q37 Hj
#include <iostream> *<;&>w8
#include <istream> //基本输入流 =mAGD*NKu
#include <ostream> //基本输出流 s'2y%E#
#include <queue> //STL 队列容器 &U854
#include <set> //STL 集合容器 -MsuBf
#include <sstream> //基于字符串的流 @US '{hO1p
#include <stack> //STL 堆栈容器 ~.!?5(AH8z
#include <stdexcept> //标准异常类 ,Zr YJ<
#include <streambuf> //底层输入/输出支持 WVsKrFZT
#include <string> //字符串类 uk1v7#p
#include <utility> //STL 通用模板类 0-lPhnrp
#include <vector> //STL 动态数组容器 n*Q4G}p
#include <cwchar> W>VAbm
#include <cwctype> 0L
7@2|a0
t2m ^
using namespace std; s+Cl
?WMi S]Q\
////////////////////////////////////////////////////////////////////////// _4!7
zW^
O]4W|WI3
C99 增加 #SK#k<&P
~c9vdK
#include <complex.h> //复数处理 E^'C" 6
#include <fenv.h> //浮点环境 R|6RI}
#include <inttypes.h> //整数格式转换 i"ck`6v"8
#include <stdbool.h> //布尔环境 >^sz5d+X
#include <stdint.h> //整型环境 aB7d(
#include <tgmath.h> //通用类型数学宏