摘要:
1 P1881 闪烁的繁星分治,维护几个结果即可。#include #include using namespace std;const int maxn = 200007;int a[maxn> 1; build(l, m, i> 1; if (p = m-l+1) ... 阅读全文
摘要:
扫描线、曼哈顿生成树: http://community.topcoder.com/tc?module=Static&d1=tutorials&d2=lineSweep莫队算法:http://www.cnblogs.com/zig-zag/archive/2013/03/15/2961965.htm... 阅读全文