摘要: 题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=1166思路分析:该问题为动态连续和查询问题,使用数组数组可以解决;也可使用线段树解决该问题;代码如下:#include #include #include using namespace std;cons... 阅读全文
posted @ 2015-07-18 20:43 Leptus 阅读(200) 评论(0) 推荐(0) 编辑