摘要:
http://acm.zju.edu.cn/onlinejudge/showProblem.do?problemId=3674离散化+线段树,还有 longlong。AC Code 1 #include <cstdio> 2 #include <cstring> 3 #include <algorithm> 4 using namespace std; 5 #define lson l,m,rt<<1 6 #define rson m+1,r,rt<<1|1 7 #define maxn 200005 8 struct node{ 9 阅读全文