02 2022 档案
摘要:#include <iostream> #include <vector> #include <stack> using namespace std; //有序数组去重 int order(vector<int> a) {//0-slow为去重后有序数组 int size=a.size(); int
阅读全文
摘要:#include <iostream> using namespace std; struct Node//定义单链表 { int val; Node* next; Node(int _val):val(_val),next(nullptr){} } ; class JoCycle{//定义环 pr
阅读全文
摘要:#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
阅读全文