02 2022 档案

摘要:#include <iostream> #include <vector> #include <stack> using namespace std; //有序数组去重 int order(vector<int> a) {//0-slow为去重后有序数组 int size=a.size(); int 阅读全文
posted @ 2022-02-10 14:21 菠萝超级酸 阅读(31) 评论(0) 推荐(0) 编辑
摘要:#include <iostream> using namespace std; struct Node//定义单链表 { int val; Node* next; Node(int _val):val(_val),next(nullptr){} } ; class JoCycle{//定义环 pr 阅读全文
posted @ 2022-02-08 17:12 菠萝超级酸 阅读(21) 评论(0) 推荐(0) 编辑
摘要:#include <iostream> #include <string> using namespace std; int main(int argc, char *argv[]) { /* //法1,使用find函数 string st="1001,88.67,1003,22.1,1002,76 阅读全文
posted @ 2022-02-03 22:07 菠萝超级酸 阅读(862) 评论(0) 推荐(0) 编辑

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