随笔分类 - ACM / 其它
摘要:vector: 用法: sort(ve.begin(),ve.end());//排序 ve.push_back();//末尾插入 ve.pop_back();//末尾删除 ve.insert(v.begin(),x);//在最头插入x ve.insert(v.begin()+2,x);//在第二个元
阅读全文
摘要:(Day17)算法复健运动for蓝桥杯-文件处理 看例子就行了: #include<bits/stdc++.h> using namespace std; int main() { ifstream ifs("test5_in.txt");//读入 ofstream ofs("test5_out.t
阅读全文