随笔分类 - 11.倍增 - (1)ST算法
摘要:题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=3183 Problem DescriptionKiki likes traveling. One day she finds a magic lamp, unfortunately the genie i
阅读全文
摘要:题目链接:http://acm.csu.edu.cn/csuoj/problemset/problem?pid=1809 Bobo has a balanced parenthesis sequence P=p 1 p 2…p n of length n and q questions. The i
阅读全文
摘要:题目链接:http://poj.org/problem?id=3368 RMQ应用题。 解题思路参考:http://blog.csdn.net/libin56842/article/details/46482803 附一个网上的数据生成器:
阅读全文