小路绫ayaya
小路绫ayaya
全部文章
分类
归档
标签
去牛客网
登录
/
注册
小路绫ayaya的博客
全部文章
(共45篇)
题解 | 对称矩阵
#include <iostream> #include <vector> using namespace std; int main() { ios_base::sync_with_stdio(false); cin.tie(nullptr); ...
2026-03-10
0
13
题解 | 最小年龄的3个职工
#include <iostream> #include <algorithm> #include <vector> using namespace std; struct stuff { int ID, age; string name; }...
2026-03-10
0
11
题解 | 合并符串
#include <iostream> #include <string> using namespace std; int main() { ios_base::sync_with_stdio(false); cin.tie(NULL); str...
2026-03-08
0
13
题解 | 调整方阵
#include <iostream> #include <vector> using namespace std; int main() { ios_base::sync_with_stdio(false); cin.tie(NULL); in...
2026-03-08
0
14
题解 | 搬水果
#include <iostream> #include <vector> #include <algorithm> using namespace std; int main() { ios_base::sync_with_stdio(false)...
2026-03-07
0
20
题解 | 平方因子
#include <iostream> #include <cmath> using namespace std; int main() { ios_base::sync_with_stdio(false); cin.tie(NULL); int ...
2026-03-07
0
11
题解 | 连通图
#include <iostream> #include <vector> using namespace std; int find_parent(vector<int> vec, int a) { if(vec[a] == a) return a;...
2026-03-07
0
16
题解 | 怪异的洗牌
#include <iostream> #include <vector> #include <algorithm> using namespace std; void ship_flip(vector<int> &vec, int n, ...
2026-03-07
0
15
题解 | 素数判定
#include <iostream> #include <cmath> using namespace std; int my_gcd(int a, int b) { if(b == 0) return a; else { ret...
2026-03-06
0
17
题解 | 完数
#include <iostream> using namespace std; int main() { ios_base::sync_with_stdio(false); cin.tie(NULL); int n; while(cin >&g...
2026-03-06
0
19
首页
上一页
1
2
3
4
5
下一页
末页