摘要:
https://atcoder.jp/contests/abc396/tasks/abc396_g 下面给出题目的中文思路、详细解释以及带中文注释的 C++ 实现代码。 代码实现 下面给出带中文注释的 C++ 代码: #include <bits/stdc++.h> using namespace 阅读全文
摘要:
https://atcoder.jp/contests/abc378/tasks/abc378_f https://atcoder.jp/contests/abc378/editorial/11307 #include<bits/stdc++.h> #define x first #define y 阅读全文
摘要:
https://atcoder.jp/contests/abc378/tasks/abc378_e https://atcoder.jp/contests/abc378/editorial/11300 #include<bits/stdc++.h> #define x first #define y 阅读全文
摘要:
https://qoj.ac/contest/1794/problem/9313 #include<bits/stdc++.h> #define x first #define y second using namespace std; typedef long long ll; typedef p 阅读全文
摘要:
https://atcoder.jp/contests/abc368/tasks/abc368_f #include<bits/stdc++.h> #define x first #define y second using namespace std; typedef long long ll; 阅读全文
摘要:
https://ac.nowcoder.com/acm/contest/88527/C #include<bits/stdc++.h> #define x first #define y second using namespace std; typedef pair<int,int> pii; t 阅读全文
摘要:
https://codeforces.com/contest/1881/problem/F 不难发现一件事情,我们这里最后的答案所在的点是 1 和 3 号点。 我们有没有发现一个性质:就是这两个点都是红点间的路径上的,而且最后的答案就是最长的红点间的距离的长度除以二上取整。 那么,我们怎么找到最长的 阅读全文
摘要:
https://codeforces.com/contest/1933/problem/E #include<bits/stdc++.h> #define x first #define y second using namespace std; typedef long long ll; type 阅读全文