sidsung
sidsung
全部文章
分类
归档
标签
去牛客网
登录
/
注册
sidsung的博客
全部文章
(共49篇)
题解 | #使用算法#
#include <iostream> #include <vector> // write your code here...... #include <algorithm> using namespace std; int main() { int...
2023-02-09
0
269
题解 | #判断元素是否出现#
#include<bits/stdc++.h> #include <map> using namespace std; int main(){ //write your code here...... int n, m, a, x; cin >> n; c...
2023-02-09
0
294
题解 | #查找#
#include<bits/stdc++.h> #include <iterator> using namespace std; int main() { set<int>s; //write your code here...... in...
2023-02-09
0
228
题解 | #统计字符串中各字母字符对应的个数#
#include <iostream> // write your code here...... #include <map> using namespace std; int main() { char str[100] = { 0 }; cin.ge...
2023-02-08
1
343
题解 | #去除字符串中重复的字符#
#include <iostream> // write your code here...... #include <set> using namespace std; int main() { char str[100] = { 0 }; cin.ge...
2023-02-08
0
246
题解 | #最后k个元素#
#include<bits/stdc++.h> #include<vector> using namespace std; int main(){ int n,k; vector<int>a; // write your code here...... c...
2023-02-08
0
213
题解 | #智能排队系统#
#include <iostream> #include <deque> using namespace std; class Guest { public: string name; bool vip; Guest(string name, bo...
2023-02-08
0
293
题解 | #迭代器遍历set#
#include<bits/stdc++.h> #include<set> using namespace std; int main(){ set<int>s; // write your code here...... int in(0); while...
2023-02-08
0
241
题解 | #迭代器遍历容器#
#include <iostream> // write your code here...... #include <vector> using namespace std; int main() { // write your code here...... ...
2023-02-07
0
304
题解 | #多态实现求面积体积#
#include<bits/stdc++.h> using namespace std; class rectangle{ private: int length,width; public: rectangle(int x,int y){ length=x; w...
2023-02-03
0
306
首页
上一页
1
2
3
4
5
下一页
末页