摘要: #include #include #include #define N 1028#define lowbit(x) x&(-x)using namespace std;int num,n,q,x1,x2,y3,y2;int c[N][N];void add(int ... 阅读全文
posted @ 2018-03-22 21:02 LandingGuys 阅读(91) 评论(0) 推荐(0) 编辑
摘要: http://poj.org/problem?id=2155没有想到c数组用来记录改变次数 ,我一开始是记录了改变 如果c[x][y]=1 c[x][y]=0 这样子 行不通,因为c[x][y]管的不仅是一个点,无法确定 c的改变是因为哪个点改变而得到的。可以参考论文... 阅读全文
posted @ 2018-03-22 20:14 LandingGuys 阅读(116) 评论(0) 推荐(0) 编辑