摘要:
A. QAQ 注意到状态数最多也就 $nlogx$ 于是用 $map$ 直接爆力转移即可 题解说状态数为 $O(n)$ 级别,不会证 code #include<bits/stdc++.h> using namespace std; typedef long long ll; typedef uns 阅读全文
摘要:
A. Once Again 做过一个类似的题,先拉出来复杂度允许的次数跑 $LIS$,然后剩余的循环肯定是选了同一种数,取出现次数最多的即可 code #include<bits/stdc++.h> using namespace std; typedef long long ll; typedef 阅读全文
摘要:
A. 小 h 的几何 最后式子化成了 $(A+B+C)/2$ 不会证 code #include<bits/stdc++.h> using namespace std; typedef long long ll; typedef unsigned long long ull; int read(){ 阅读全文