摘要:
因为y已经排好序了,用x坐标建立一维树状数组#include#include#includeusing namespace std;int n;int a[32001];int lev[15001];int lowbit(int x){ return x&(-x);}int sum(int x... 阅读全文
posted @ 2014-08-11 18:20
JarvisLau
阅读(126)
评论(0)
推荐(0)
摘要:
#include#include#include#include#includeusing namespace std;struct Point{ int x,y; Point(int x=0,int y=0):x(x),y(y){}};typedef Point Vector;bool... 阅读全文
posted @ 2014-08-11 10:03
JarvisLau
阅读(221)
评论(0)
推荐(0)

浙公网安备 33010602011771号