摘要:
http://acm.hdu.edu.cn/showproblem.php?pid=2689 #include<bits/stdc++.h> #define low(x) (x&(-x)) using namespace std; const int maxn=1e5+5; typedef long 阅读全文
摘要:
https://ac.nowcoder.com/acm/problem/20861 #include<bits/stdc++.h> #define low(x) (x&(-x)) using namespace std; const int N=1e5+5; typedef long long ll 阅读全文
摘要:
https://ac.nowcoder.com/acm/problem/20032 #include <bits/stdc++.h> using namespace std; const int maxn = 5010; int N, R; int g[maxn][maxn]; int ans; i 阅读全文
摘要:
https://ac.nowcoder.com/acm/problem/24636 刚开始不是很明白为什么前缀和差分可以做 后来想了想,似乎是这样 区间驱赶 的时候,前缀和不为0 剩余的区间前缀和为0 #include<bits/stdc++.h> #define int long long usi 阅读全文