树状数组
ipqhjjybj
学生
展开
-
HDU 4699 Editor 树状数组
Editor 题目链接: http://acm.hdu.edu.cn/showproblem.php?pid=4699 栈 A, B维护光标之前(之后)的序列 I x A.push(x) D A.pop() L B.push原创 2013-08-23 18:22:10 · 1192 阅读 · 0 评论 -
HDU 4217 Data Structure? 树状数组
Data Structure? Time Limit: 10000/5000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others) Total Submission(s): 2166 Accepted Submission(s): 692 Problem Description Data struc原创 2013-09-08 18:19:49 · 1514 阅读 · 0 评论 -
HDU 4267 - A Simple Problem with Integers 树状数组区间修改
解法请看http://blog.csdn.net/diannaok/article/details/7959423 挺又收获的。以前虽然会区间修改,但不熟练。没想到可以通过k来解决问题。 A Simple Problem with Integers Time Limit: 5000/1500 MS (Java/Others) Memory Limit: 32768/32原创 2013-09-08 00:29:50 · 1443 阅读 · 0 评论 -
E. Little Girl and Problem on Trees 树状数组 + 线段树
E. Little Girl and Problem on Trees time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output A little girl loves pro原创 2014-07-03 21:44:39 · 948 阅读 · 0 评论 -
树状数组写区间最大值
莫队算法。。不过 TLE原创 2014-08-01 20:08:31 · 1024 阅读 · 0 评论