摘要:
Codeforces Round 924 (Div. 2) A - Rectangle Cutting 解题思路: 初始矩形长宽为\((a,b)\),如果a56爆大奖在线娱乐们切\(a\),那么一定不能再拼接\(a\),否则一定一样。a56爆大奖在线娱乐a56爆大奖在线娱乐们拼接\(b\),即将\(a\)对半分开得到两个\((\frac{a}{2}, 阅读全文
摘要:
Japan Registry Services (JPRS) Programming Contest 2024 (AtCoder Beginner Contest 339) A - TLD 代码: #include <bits/stdc++.h> using namespace std; using 阅读全文
摘要:
牛客周赛 Round 31 小红小紫替换 代码: #include <bits/stdc++.h> using namespace std; using ll = long long; using pii = pair<ll, ll>; #define fi first #define se sec 阅读全文
摘要:
牛客周赛 Round 30 A 代码: #include <bits/stdc++.h> using namespace std; using ll = long long; using pii = pair<ll, ll>; #define fi first #define se second u 阅读全文
摘要:
Codeforces Round 921 (Div. 2) 推荐题解 A - We Got Everything Covered! 解题思路: 以前\(k\)个字符都出现过至少一次为一轮,构造\(n\)轮即可。 代码: #include <bits/stdc++.h> using namespace 阅读全文
摘要:
AtCoder Beginner Contest 338 A - Capitalized? 代码: #include <bits/stdc++.h> using namespace std; using ll = long long; using pii = pair<ll, ll>; #defin 阅读全文
摘要:
牛客练习赛121 出题人题解 | 牛客练习赛 121 题解 小念吹气球 解题思路: 字符长度加字符种类数。 代码: #include <bits/stdc++.h> using namespace std; using ll = long long; using pii = pair<ll, ll> 阅读全文
摘要:
牛客周赛 Round 29 小红大战小紫 代码: #include <bits/stdc++.h> using namespace std; using ll = long long; using pii = pair<ll, ll>; #define fi first #define se sec 阅读全文
摘要:
Toyota Programming Contest 2024#1(AtCoder Beginner Contest 337) A - Scoreboard 代码: #include <bits/stdc++.h> using namespace std; using ll = long long; 阅读全文
摘要:
AtCoder Beginner Contest 336 A - Long Loong 代码: #include <bits/stdc++.h> using namespace std; using ll = long long; using pii = pair<ll, ll>; #define 阅读全文