2020年8月21日

百题计划-6 codeforces 651 div2 E. Binary Subsequence Rotation 01序列集合划分,2个队列处理

摘要: https://codeforces.com/contest/1370/problem/E 队列元素以末尾字符为结尾的序列就好了,这里队列里的元素不重要,队列size重要 #include<bits/stdc++.h> using namespace std; typedef long long l 阅读全文

posted @ 2020-08-21 22:17 KEZ 阅读(65) 评论(0) 推荐(0)

百题计划-5 codeforces 651 div2 D. Odd-Even Subsequence 二分检查

摘要: https://codeforces.com/contest/1370/problem/D 二分检查 #include<bits/stdc++.h> using namespace std; typedef long long ll; const int maxn=200100; const int 阅读全文

posted @ 2020-08-21 21:01 KEZ 阅读(133) 评论(0) 推荐(0)

百题计划-4 codeforces 652 div2 D. TediousLee 找规律

摘要: https://codeforces.com/contest/1369/problem/D n<=2e6,所以只要找递推式就可以了,不需要找快速幂 /** */ #include<bits/stdc++.h> using namespace std; typedef long long ll; co 阅读全文

posted @ 2020-08-21 19:40 KEZ 阅读(107) 评论(0) 推荐(0)

导航