Kidding_Ma
Kidding_Ma
全部文章
分类
题解(46)
归档
标签
去牛客网
登录
/
注册
Kidding_Ma的博客
犯错并不可怕,放弃才可怕。
全部文章
(共41篇)
题解 | #牛客周赛 Round 108#
link A 。 #include "bits/stdc++.h" using namespace std; int main() { ios::sync_with_stdio(false); cin.tie(nullptr); int s, s1, s2, s3; ...
2025-09-09
0
17
题解 | #牛客小白月赛120#
link A 。 #include "bits/stdc++.h" using namespace std; void solve() { int n; string s; cin >> n >> s; vector<int&g...
2025-09-05
0
16
题解 | #小红的双排列查询#
link 这里考虑维护区间众数出现次数,维护区间最值。 这里使用了莫队和 SparseTable。 。 #include <bits/stdc++.h> using namespace std; constexpr int N = 2.5E5; int sum[N + 1], z[N ...
2025-07-27
3
51
题解 | #牛客周赛 Round 99#
link A 。 #include "bits/stdc++.h" using namespace std; int main() { ios::sync_with_stdio(false); cin.tie(nullptr); string s; cin &g...
2025-07-06
17
68
题解 | #牛客周赛 Round 98#
link A 。 #include "bits/stdc++.h" using namespace std; int main() { ios::sync_with_stdio(false); cin.tie(nullptr); int x; cin ...
2025-06-30
2
53
题解 | 武汉工程大学第七届ACM程序设计竞赛同步赛
B 。 #include "bits/stdc++.h" using namespace std; int main() { ios::sync_with_stdio(false); cin.tie(nullptr); string s, t; cin >...
2025-04-30
0
93
题解 | #2024牛客暑期多校训练营8#
link 链接:https://ac.nowcoder.com/acm/contest/81603 A 考虑两人都操作完会形成怎样的局面,会增加多少个数,然后根据增加的数的数量的奇偶来判断先手赢还是后手赢。 。 #include "bits/stdc++.h" using namespace st...
2024-08-08
20
648
题解 | #牛客周赛 Round 44#
Link 牛客周赛 Round 44 A 。 #include "bits/stdc++.h" using namespace std; using i64 = int64_t; int main() { ios::sync_with_stdio(false); cin.tie(...
2024-05-26
6
793
题解 | #牛客练习赛125#
Link 牛客练习赛125 A 。 C++ Code #include "bits/stdc++.h" using namespace std; using i64 = int64_t; void solve() { vector<int> a(5); for (i...
2024-05-17
14
883
题解 | #武汉工程大学第六届ACM程序设计竞赛(同步赛)#
Link C dfs。 。 #include "bits/stdc++.h" using namespace std; using i64 = int64_t; int main() { ios::sync_with_stdio(false); cin.tie(nullptr);...
2024-04-29
3
501
首页
上一页
1
2
3
4
5
下一页
末页