ACM竞赛C++常用头文件

来源:互联网 发布:黑客篡改时时彩数据 编辑:程序博客网 时间:2024/06/07 17:20
#include <iostream>//数据输入输出流
#include <string.h>//字符串操作函数
#include <stdio.h>//C的输入输出
#include <stdlib.h>//定义杂项函数及内存分配函数
#include <math.h>//C中的数学函数
#include <string.h>//c++中的string类 他不能用strcpy等c函数去操作
#include <vector>//STL vetor容器
#include <list>//STL list
#include <map>// STL map
#include <queue>// STL queue
#include <stack>//sTL stack
#include <bitset>//bitset可按位定义串
//比如:bitset <1000> all;定义一个1000位的串
#include <algorithm>//STL各种算法 比如 swap sort merge max min 比较
#include <numeric>//常用数字操作 一般和algorithm搭配使用
#include <functional>//STL定义运算函数(代替运算符)
#include<iomanip.h>//参数化输入/输出
#include<limits.h>//定义各种数据类型最值常量
#include<strstrea.h>//基于数组的输入/输出
#include<fstream.h>//文件输入/输出
原创粉丝点击