realywq
realywq
全部文章
分类
归档
标签
去牛客网
登录
/
注册
realywq的博客
全部文章
(共45篇)
题解 | 特殊排序
#include <iostream> #include <vector> #include <algorithm> using namespace std; int main() { int n; while(cin>>n){ ...
2026-01-18
0
23
题解 | 成绩排序
#include <iostream> #include <vector> #include <algorithm> using namespace std; struct student{ string name; int grade; ...
2026-01-18
0
26
题解 | 成绩排序
#include <iostream> #include <vector> #include <algorithm> using namespace std; struct student{ int id; int grade; }; int ...
2026-01-18
0
24
题解 | 手机键盘
#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
23
题解 | 剩下的树
#include <iostream> #include <vector> using namespace std; int main() { int l,m; while(cin>>l>>m){ vector<...
2026-01-17
0
21
题解 | Day of Week
#include <iostream> #include <string> #include <vector> using namespace std; vector<string> weekdays={"Monday",&quo...
2026-01-17
0
29
题解 | 日期差值
#include <iostream> #include <string> #include <vector> using namespace std; vector<vector<int>> a = { {0,31,28,31,3...
2026-01-16
0
33
题解 | 日期累加
#include <cstdio> #include <iostream> #include <vector> #include <string> using namespace std; vector<vector<int>>...
2026-01-16
0
28
题解 | 与7无关的数
#include <iostream> using namespace std; bool sevenRelated(int n){ if(n%7==0) return true; int revx = 0; while(n!=0){ revx =...
2025-12-26
0
46
题解 | Sum of Factorials
#include <bits/stdc++.h> using namespace std; int Factorials(int n) { if (n == 0) return 1; else if (n >= 1) { int result = ...
2025-03-05
0
60
首页
上一页
1
2
3
4
5
下一页
末页