C、传统 C++ VLoRS)
>4os%T
#include <assert.h> //设定插入点 }nSu7)3$B
#include <ctype.h> //字符处理 DQ c pIV
#include <errno.h> //定义错误码 J7t) H_S{
#include <float.h> //浮点数处理 { _Y'%Ggh
#include <fstream.h> //文件输入/输出 :SY,;..3e
#include <iomanip.h> //参数化输入/输出 OjrZ6
#include <iostream.h> //数据流输入/输出 NLUiNfCR
#include <limits.h> //定义各种数据类型最值常量 s+E4AG1r
#include <locale.h> //定义本地化函数 {XwDvLZ
#include <math.h> //定义数学函数 kYR^
#include <stdio.h> //定义输入/输出函数 U8@P/Z9
#include <stdlib.h> //定义杂项函数及内存分配函数 We'= /!
#include <string.h> //字符串处理 ;Zn&Nc7
#include <strstrea.h> //基于数组的输入/输出 ?[%.4i;-h
#include <time.h> //定义关于时间的函数 bfkFk
#include <wchar.h> //宽字符处理及输入/输出 Dw
y|mxlFn
#include <wctype.h> //宽字符分类 qac:"z'9
vFeR)Ox's
////////////////////////////////////////////////////////////////////////// :^FH.6}x
6z'0fi|EN
标准 C++ (同上的不再注释) C'jCIL
IoV"t,
#include <algorithm> //STL 通用算法 g4;|uK;
#include <bitset> //STL 位集容器 3K/]{ dkD
#include <cctype> fG{3S:TQq
#include <cerrno> dKL9}:oUa
#include <clocale> `>RM:!m6=$
#include <cmath> jR*iA3LDo
#include <complex> //复数类 m~&>+q ^7
#include <cstdio> -^8OjGat
#include <cstdlib> Bgai|l
#include <cstring> G/w@2lYx
#include <ctime> [$fB]7A
#include <deque> //STL 双端队列容器 wzZ]|
C(vp
#include <exception> //异常处理类 _T=";NSa
#include <fstream> Wul8ej:
#include <functional> //STL 定义运算函数(代替运算符) nhd.c2t\
#include <limits> i?)bF!J
#include <list> //STL 线性列表容器 U8%IpI;
#include <map> //STL 映射容器 pTJ_DH
#include <iomanip> er>{#8 P
#include <ios> //基本输入/输出支持 "g(q)u >
#include <iosfwd> //输入/输出系统使用的前置声明 )a+bH </'
#include <iostream> $-E<{
#include <istream> //基本输入流 ':utU1dL
#include <ostream> //基本输出流 Eh"Y<]$
#include <queue> //STL 队列容器 'SIc2H
#include <set> //STL 集合容器 EAF\7J*
#include <sstream> //基于字符串的流 QEmktc1 7
#include <stack> //STL 堆栈容器 9mpQusM
#include <stdexcept> //标准异常类 37V$Qb_
#include <streambuf> //底层输入/输出支持 =E~_F>SD
#include <string> //字符串类 U1kW1L}B
#include <utility> //STL 通用模板类 !'>#!S~h3
#include <vector> //STL 动态数组容器 `"$9L[>
#include <cwchar> 6\)u\m`7-l
#include <cwctype> u R!'v
'qeUI}[
using namespace std; 0bGQO&s
[
6-nf+!#G
////////////////////////////////////////////////////////////////////////// "7?x aGh8
{|e7^_ ke
C99 增加 #;"lBqxY`
.;D'
#include <complex.h> //复数处理 **ls 4CE<
#include <fenv.h> //浮点环境 /EvT%h?p
#include <inttypes.h> //整数格式转换 [bN_0T.YI
#include <stdbool.h> //布尔环境 ?Y9VviC
#include <stdint.h> //整型环境 }5?|iUH|
#include <tgmath.h> //通用类型数学宏