2016年10月5日

摘要: Description Every year, Farmer John's N (1 <= N <= 20,000) cows attend "MooFest",a social gathering of cows from around the world. MooFest involves a 阅读全文
posted @ 2016-10-05 22:47 阿宝的锅锅 阅读(158) 评论(0) 推荐(0)
 
摘要: 【题意】给你一个矩阵(初始化为0)和一些操作,1 x y a表示在arr[x][y]加上a,2 l b r t 表示求左上角为(l,b),右下角为(r,t)的矩阵的和。 【思路】帮助更好理解树状数组。 阅读全文
posted @ 2016-10-05 22:07 阿宝的锅锅 阅读(134) 评论(0) 推荐(0)