随笔分类 -  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);//在第二个元 阅读全文
posted @ 2024-06-25 16:55 wlqtc 阅读(15) 评论(0) 推荐(0) 编辑
摘要:(Day17)算法复健运动for蓝桥杯-文件处理 看例子就行了: #include<bits/stdc++.h> using namespace std; int main() { ifstream ifs("test5_in.txt");//读入 ofstream ofs("test5_out.t 阅读全文
posted @ 2024-06-25 16:41 wlqtc 阅读(5) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示