2016年10月1日

摘要: Description Given an N*N matrix A, whose elements are either 0 or 1. A[i, j] means the number in the i-th row and j-th column. Initially we have A[i, 阅读全文
posted @ 2016-10-01 16:25 阿宝的锅锅 阅读(154) 评论(0) 推荐(0)
 
摘要: Description Seiji Hayashi had been a professor of the Nisshinkan Samurai School in the domain of Aizu for a long time in the 18th century. In order to 阅读全文
posted @ 2016-10-01 15:57 阿宝的锅锅 阅读(158) 评论(0) 推荐(0)
 
摘要: 参考资料:http://blog.csdn.net/z309241990/article/details/9615259 一维树状数组: 使用情况:当要频繁的对数组元素进行修改,同时又要频繁的查询数组内任一区间元素之和的时候,可以考虑使用树状数组. 一、回顾一维树状数组 假设一维数组为A[i](i= 阅读全文
posted @ 2016-10-01 11:15 阿宝的锅锅 阅读(216) 评论(0) 推荐(0)