随笔分类 -  c++算法题

摘要:#include<iostream> #include<vector> using namespace std; vector<int> mut(vector<int> A,int a){ int t = 0; //记录余数 vector<int> C; for(int i = A.size()-1 阅读全文
posted @ 2020-10-18 19:58 secx 阅读(65) 评论(0) 推荐(0)
摘要:#include<iostream> #include<vector> using namespace std; vector<int> mut(vector<int>A,int a){ vector<int> C; int t = 0; for(int i = 0;i<A.size() || t; 阅读全文
posted @ 2020-10-18 19:57 secx 阅读(76) 评论(0) 推荐(0)
摘要:#include<iostream> #include<vector> using namespace std; vector<int> add(vector<int> &A,vector<int> &B){ vector<int> C; if(A.size()<B.size()) return a 阅读全文
posted @ 2020-10-18 19:55 secx 阅读(65) 评论(0) 推荐(0)
摘要:#include<iostream> #include<vector> using namespace std; vector<int> mute(vector<int> A,vector<int> B) { int t = 0; vector<int> C; for(int i = 0; i<A. 阅读全文
posted @ 2020-10-16 12:30 secx 阅读(56) 评论(0) 推荐(0)