C、传统 C++ 6qo^2
5wC* ?>/
#include <assert.h> //设定插入点 ]>i~6!@
#include <ctype.h> //字符处理 HjWq[[Nz
#include <errno.h> //定义错误码 =wi*Nd7L
#include <float.h> //浮点数处理 *oI*-C
#include <fstream.h> //文件输入/输出 bVr*h2p
#include <iomanip.h> //参数化输入/输出 mT*{-n_Zs
#include <iostream.h> //数据流输入/输出 4\
/*jA
#include <limits.h> //定义各种数据类型最值常量 G&eP5'B4i
#include <locale.h> //定义本地化函数 qu6DQ@
~YC
#include <math.h> //定义数学函数 SKY*.IW/Z
#include <stdio.h> //定义输入/输出函数 O$!*%TL
#include <stdlib.h> //定义杂项函数及内存分配函数 ;P?q2jI
#include <string.h> //字符串处理 M] V.!z9B
#include <strstrea.h> //基于数组的输入/输出 {Z{o"56f
#include <time.h> //定义关于时间的函数 '_+9y5
#include <wchar.h> //宽字符处理及输入/输出 gd@p|PsS^
#include <wctype.h> //宽字符分类 |`yZIY_
|f2A89
////////////////////////////////////////////////////////////////////////// YJ7V`Np
Q}2[hB
标准 C++ (同上的不再注释) dpN@#w
E^ h=!RW{
#include <algorithm> //STL 通用算法 f%qt)Ick
#include <bitset> //STL 位集容器 ?Ce#BwQ>
#include <cctype> xcCl
(M]+
#include <cerrno> |E/L.gdP7
#include <clocale> 7_KhV
#include <cmath> (d2@Mz
#include <complex> //复数类 "u')g&
#include <cstdio> \Mx
JH[
#include <cstdlib>
r@)A
k
#include <cstring> QBE@(2G}C
#include <ctime> ? S=W&
#include <deque> //STL 双端队列容器 ^gro=Bp(
#include <exception> //异常处理类 h=RDO
#include <fstream> YwT-T,oD
#include <functional> //STL 定义运算函数(代替运算符) _EYB
8e
#include <limits> FJM;X-UOY
#include <list> //STL 线性列表容器 &bC}3D
#include <map> //STL 映射容器 sJr5t?
#include <iomanip> 73NZ:h%=
#include <ios> //基本输入/输出支持 [!*xO?yCJ
#include <iosfwd> //输入/输出系统使用的前置声明 EH9Hpo
#include <iostream> %I4zQiJ%
#include <istream> //基本输入流 GaNq2 G
#include <ostream> //基本输出流 !DjT<dxf
#include <queue> //STL 队列容器 4,eQW[;kk
#include <set> //STL 集合容器 _ptP[SV^j
#include <sstream> //基于字符串的流 E%k7wM {
#include <stack> //STL 堆栈容器 U
:9=3A2$x
#include <stdexcept> //标准异常类 j=sBq.S
#include <streambuf> //底层输入/输出支持 R e:T9K'e
#include <string> //字符串类 /-*hjX$n
#include <utility> //STL 通用模板类 0~E 6QhV:
#include <vector> //STL 动态数组容器 !r&Bn6*
#include <cwchar> \%_ZV9cKF
#include <cwctype> 7t(Y;4<2
U1m\\<,
using namespace std; }#N]0I)JI
?s{C//
////////////////////////////////////////////////////////////////////////// X}JWf<=q
r:l96^xs
C99 增加 oFg'wAO.
}N3`gCy9eN
#include <complex.h> //复数处理 Etnb3<^[t
#include <fenv.h> //浮点环境 ?g}kb
#include <inttypes.h> //整数格式转换 c]m! G'L_/
#include <stdbool.h> //布尔环境 F$6?t.@J
#include <stdint.h> //整型环境 T[Q"}&bB
#include <tgmath.h> //通用类型数学宏