爱尔纳突击ACM竞赛C++常⽤头⽂件#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
cd7#include <queue>// STL queue
呼唤绿荫
#include <stack>//sTL stack
ahb
#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>//⽂件输⼊/输出