摘要:
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... 阅读全文