上一页 1 ··· 7 8 9 10 11 12 下一页
摘要: There is a sequence of brackets, which supports two kinds of operations.we can choose a interval [l,r], and set all the elements range in this inter... 阅读全文
posted @ 2015-01-07 19:25 WhyWhy。 阅读(363) 评论(0) 推荐(1) 编辑
摘要: Description In reward of being yearly outstanding magic student, Harry gets a magical computer. When the computer begins to deal with a process, it w... 阅读全文
posted @ 2015-01-05 11:12 WhyWhy。 阅读(274) 评论(0) 推荐(0) 编辑
摘要: Description: For a sequenceS1,S2,⋯,SN, and a pair of integers(i,j), if1≤i≤j≤NandSi#include#define max(a,b) (a>b?a:b)#define min(a,b) (a=R) { ... 阅读全文
posted @ 2015-01-02 00:34 WhyWhy。 阅读(281) 评论(0) 推荐(0) 编辑
摘要: Description ACM has bought a new crane (crane -- jeřáb) . The crane consists of n segments of various lengths, connected by flexible joints. The end ... 阅读全文
posted @ 2015-01-01 21:33 WhyWhy。 阅读(391) 评论(1) 推荐(0) 编辑
摘要: Description There is a number of disjoint vertical line segments in the plane. We say that two segments are horizontally visible if they can be conne... 阅读全文
posted @ 2014-12-31 17:51 WhyWhy。 阅读(176) 评论(0) 推荐(0) 编辑
摘要: Description LogLoader, Inc. is a company specialized in providing products for analyzing logs. While Ikki is working on graduation design, he is also... 阅读全文
posted @ 2014-12-30 22:46 WhyWhy。 阅读(351) 评论(0) 推荐(0) 编辑
摘要: Description The citizens of Bytetown, AB, could not stand that the candidates in the mayoral election campaign have been placing their electoral post... 阅读全文
posted @ 2014-12-30 01:03 WhyWhy。 阅读(515) 评论(0) 推荐(0) 编辑
摘要: Description You haveNintegers,A1,A2, ... ,AN. You need to deal with two kinds of operations. One type of operation is to add some given number to eac... 阅读全文
posted @ 2014-12-28 23:09 WhyWhy。 阅读(267) 评论(0) 推荐(0) 编辑
摘要: Description: In the game of DotA, Pudge’s meat hook is actually the most horrible thing for most of the heroes. The hook is made up of several cons... 阅读全文
posted @ 2014-12-28 21:45 WhyWhy。 阅读(184) 评论(0) 推荐(0) 编辑
摘要: 线段树(segment tree),一种二叉搜索树。比较常用。 就像这样。 推荐直接看http://wenku.baidu.com/view/94a8c01959eef8c75fbfb3d4.html (杭电的大神写的,十分推荐,特别棒。)例题:HDU 1166HDU 1754HDU 139... 阅读全文
posted @ 2014-12-28 21:05 WhyWhy。 阅读(129) 评论(0) 推荐(0) 编辑
上一页 1 ··· 7 8 9 10 11 12 下一页