realywq
realywq
全部文章
分类
归档
标签
去牛客网
登录
/
注册
realywq的博客
全部文章
(共30篇)
题解 | 找位置
#include <iostream> #include <string> #include <vector> using namespace std; struct record{ int count;//记录次数,如果次数大于1则输出 vect...
2026-01-19
0
12
题解 | 打印极值点下标
#include <iostream> #include <vector> using namespace std; int main() { int n; while(cin>>n){ vector<int> ext...
2026-01-19
0
17
题解 | 查找
#include <iostream> #include <vector> #include <algorithm> using namespace std; bool BinarySearch(vector<int>&a,int b){ ...
2026-01-19
0
14
题解 | 小白鼠排队
#include <iostream> #include <string> #include <algorithm> #include <vector> using namespace std; struct mouse{ string col...
2026-01-18
0
12
题解 | 整数奇偶排序
#include <iostream> #include <vector> #include <algorithm> using namespace std; int main() { vector<int> odd; vector&...
2026-01-18
0
14
题解 | 特殊排序
#include <iostream> #include <vector> #include <algorithm> using namespace std; int main() { int n; while(cin>>n){ ...
2026-01-18
0
13
题解 | 成绩排序
#include <iostream> #include <vector> #include <algorithm> using namespace std; struct student{ string name; int grade; ...
2026-01-18
0
11
题解 | 成绩排序
#include <iostream> #include <vector> #include <algorithm> using namespace std; struct student{ int id; int grade; }; int ...
2026-01-18
0
12
题解 | 手机键盘
#include <iostream> #include <string> #include <vector> using namespace std; vector<int> keyTab={1,2,3,1,2,3,1,2,3,1,2,3,1,2,...
2026-01-17
0
11
题解 | 剩下的树
#include <iostream> #include <vector> using namespace std; int main() { int l,m; while(cin>>l>>m){ vector<...
2026-01-17
0
12
首页
上一页
1
2
3
下一页
末页