C、传统 C++ I?Eh
0fI
${0Xq k
#include <assert.h> //设定插入点 "kVN|Do
#include <ctype.h> //字符处理 7H++ pOF
#include <errno.h> //定义错误码 Q->'e-\E<"
#include <float.h> //浮点数处理 ~\Fde^1
#include <fstream.h> //文件输入/输出 &I <R|a
#include <iomanip.h> //参数化输入/输出 2mVH*\D
#include <iostream.h> //数据流输入/输出 o7&Z4(V
#include <limits.h> //定义各种数据类型最值常量 !5Z?D8dcx
#include <locale.h> //定义本地化函数 Su6ZO'[)
#include <math.h> //定义数学函数 :G,GHU'/78
#include <stdio.h> //定义输入/输出函数 H[fD
>
#include <stdlib.h> //定义杂项函数及内存分配函数 zxTm`Dh;[
#include <string.h> //字符串处理 U~!97,|ic
#include <strstrea.h> //基于数组的输入/输出 FxD\F
#include <time.h> //定义关于时间的函数 uWv l<{2
#include <wchar.h> //宽字符处理及输入/输出 "f3, w
#include <wctype.h> //宽字符分类 N{L ]H_=
E&GUg/d
////////////////////////////////////////////////////////////////////////// a(BWV?A
+!'6:F
标准 C++ (同上的不再注释) W;Ox H"eC
J+w"{ O
#include <algorithm> //STL 通用算法 OCY7Bls4
#include <bitset> //STL 位集容器 XZJ }nXy
#include <cctype> ZLxe$.V_
#include <cerrno> 5H""_uw
#include <clocale> _OHz 6ag
#include <cmath> 2m/1:5
#include <complex> //复数类 &=K-~!?
#include <cstdio> _QkU,[E
#include <cstdlib> 7Ja^d-F7
#include <cstring> DTAEfs!ZW
#include <ctime> jKM-(s!(
#include <deque> //STL 双端队列容器 VDCrFZ!]
#include <exception> //异常处理类 _f{'&YhUU
#include <fstream> GDZe6*
#include <functional> //STL 定义运算函数(代替运算符) d cYUw]
#include <limits> 4,wdIdSm4
#include <list> //STL 线性列表容器 6aXsRhQ~
#include <map> //STL 映射容器 ,R3D
#include <iomanip> d\'M ~VQ
#include <ios> //基本输入/输出支持 rS{Rzs^@
#include <iosfwd> //输入/输出系统使用的前置声明 b>&kL
#include <iostream> #oJ9BgDry
#include <istream> //基本输入流 %fK"g2:
#include <ostream> //基本输出流 DyYl97+Z?
#include <queue> //STL 队列容器 J:5%ff~r\
#include <set> //STL 集合容器 F#O.i,
#include <sstream> //基于字符串的流 ^L*:0P~
#include <stack> //STL 堆栈容器 kG@1jMPtQ
#include <stdexcept> //标准异常类 !@%m3)T8
#include <streambuf> //底层输入/输出支持 ATPc~f
#include <string> //字符串类 b6R0za
#include <utility> //STL 通用模板类 .#lQZo6$\|
#include <vector> //STL 动态数组容器 \/S?.P#L~
#include <cwchar> }7wQFKME
#include <cwctype> c3g\*)Jz"F
X;6&:%ZL@^
using namespace std; 4$1sBY/
xH; 4lw
////////////////////////////////////////////////////////////////////////// "((6)U#
htkn#s~=
C99 增加 Jg/WE1p>
BVC\~j
j
#include <complex.h> //复数处理 : ,LX3,
#include <fenv.h> //浮点环境 3:dQN;=
#include <inttypes.h> //整数格式转换 wNcf7/ky
#include <stdbool.h> //布尔环境 11%^K=dq
#include <stdint.h> //整型环境 $ [M8G
#include <tgmath.h> //通用类型数学宏