摘要: Red Pandaships 我们会发现如果有奇数个熊猫被夹在两个熊猫之间,那么一定会相交 #include <bits/stdc++.h> using namespace std; #define int long long const int N = 3e5 + 5; int t, n, m; 阅读全文
posted @ 2024-09-27 17:08 libohan0518 阅读(2) 评论(0) 推荐(0) 编辑
摘要: Fun is Counting 我们可以发现数组 \(a\) 必须是 \(x\) 或 \(x - 1\),然后分类讨论即可 #include <bits/stdc++.h> using namespace std; #define int long long const int N = 1e6 + 阅读全文
posted @ 2024-09-27 16:46 libohan0518 阅读(3) 评论(0) 推荐(0) 编辑