摘要:
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 阅读全文
摘要:
牛客小白月赛86 A 水盐平衡 解题思路: 通分,然后比较分子大小。 代码: #include <bits/stdc++.h> using namespace std; using ll = long long; using pii = pair<ll, ll>; #define fi first 阅读全文
摘要:
Educational Codeforces Round 161 (Rated for Div. 2) A - Tricky Template 代码: #include <bits/stdc++.h> using namespace std; using ll = long long; using 阅读全文
摘要:
LeetCode 第 121 场双周赛 大于等于顺序前缀和的最小缺失整数 代码: class Solution { public: int missingInteger(vector<int>& nums) { int n = nums.size(); set<int> s; for(auto x 阅读全文
摘要:
AtCoder Beginner Contest 335 (Sponsored by Mynavi) A - 2023 代码: #include <bits/stdc++.h> using namespace std; using ll = long long; using pii = pair<l 阅读全文