摘要: https://www.luogu.com.cn/problem/P6619 猜个二分+树状数组 一个小细节多拿 40 分,lowbit 要 define!!! #include <bits/stdc++.h> using namespace std; int rd() { int f=1,sum= 阅读全文
posted @ 2022-03-20 16:54 FxorG 阅读(42) 评论(0) 推荐(0) 编辑
摘要: https://atcoder.jp/contests/arc137/tasks/arc137_d 遇到 \(i\&j=i\) 的先不用急,i 是 j 的子集,\(i|j=j\),发现 FWT OR 恰好是这个东西。 阅读全文
posted @ 2022-03-20 16:38 FxorG 阅读(113) 评论(0) 推荐(0) 编辑