摘要:
题目链接:https://www.luogu.com.cn/problem/P1903 带修莫队在莫队基础上增加一个时间维即可 注意排序的时候右端点也要按块排序 #include<bits/stdc++.h> using namespace std; typedef long long ll; co 阅读全文
摘要:
题目链接:https://codeforces.com/contest/617/problem/E 莫队模板题 #include<bits/stdc++.h> using namespace std; typedef long long ll; const int maxn = 2000010; i 阅读全文
摘要:
题目链接:https://www.luogu.com.cn/problem/P1962 #include<bits/stdc++.h> using namespace std; typedef long long ll; const int M = 1000000007; ll n, m; stru 阅读全文
摘要:
题目链接:https://ac.nowcoder.com/acm/contest/10845/F 如图: #include<bits/stdc++.h> using namespace std; typedef long long ll; const int maxn = 1000010; cons 阅读全文