摘要: http://acm.hdu.edu.cn/showproblem.php?pid=1892树状数组拓展到二维 1 #include <iostream> 2 using namespace std; 3 const int MAX = 1000 + 10; 4 int a[MAX][MAX]; 5 int c[MAX][MAX]; 6 int LowBit(int lb){ 7 return lb & (-lb); 8 } 9 void Updata(int x,int y,int value){ 10 int i,j; 11 for(i=x;i<M... 阅读全文
posted @ 2012-12-02 16:12 zx雄 阅读(281) 评论(0) 推荐(0) 编辑