摘要: Description维护一个W*W的矩阵,初始值均为S.每次操作可以增加某格子的权值,或询问某子矩阵的总权值.修改操作数M 2 #include 3 #include 4 5 struct A 6 { 7 int x, y, pos, ctrl, ans; 8 } t[200010]... 阅读全文
posted @ 2015-07-12 18:21 Lightning34 阅读(215) 评论(0) 推荐(0) 编辑