摘要: 题目链接: 戳我题目大意:给你一个二维数组 a[][] , 有以下几种操作,0 S 就是把数组初始化为01 X Y A 就是让 a[X][y] = A;2 L B R T 就是求矩阵a[L][B] 和 a[R][T] 所围矩形内的和3 退出简单的二维树状数组, 不懂得看这篇博客,挺好的, 尤其是还... 阅读全文
posted @ 2015-06-04 20:20 豪气干云 阅读(228) 评论(0) 推荐(0)
摘要: 题目: 戳我树状数组code:#include #include #include #include #include #include #include #include #include #include using namespace std;#define clc(a, b) memset(... 阅读全文
posted @ 2015-06-04 10:51 豪气干云 阅读(201) 评论(0) 推荐(0)