树状数组
纵马且长歌
贪心过样例,暴力出奇迹,骗分最神奇,打表进省一
展开
-
hdu5517_Triple_二维树状数组
题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=5517 题意:原创 2017-06-15 20:48:27 · 433 阅读 · 0 评论 -
树状数组讲解(转载)_清晰详细版
在网上找到的篇写的非常好的博文,自认没法写的比博主还好,只有转了,以下为链接。 链接:http://www.cnblogs.com/justforgl/archive/2012/07/27/2612364.html转载 2017-06-08 16:33:38 · 293 阅读 · 0 评论 -
hdu5975_Aninteresting game_树状数组理解
Problem Description Let’s play a game.We add numbers 1,2...n in increasing order from 1 and put them into some sets. When we add i,we must create a new set, and put iinto it.And meanwhile we have to原创 2017-06-09 23:52:40 · 221 阅读 · 0 评论