LightOJ
--Simone-
这个作者很懒,什么都没留下…
展开
-
Back to Underworld(带权并查集)
scription The Vampires and Lykans are fighting each other to death. The war has become so fierce that, none knows who will win. The humans want to know who will survive finally. But humans are afraid of going to the battlefield. So, they made a plan. T原创 2013-08-24 13:34:01 · 75 阅读 · 0 评论 -
Points in Segments (II)(区间统计 + 离散化)
which contain that point. A point pi will lie in a segment A B if A ≤ pi ≤ B. For example, if the segments are (6 12), (8 8), (10 12), (8 11), (0 12) and the point is 11, then it is contained by 4 segments. Input Input starts with an integer T (≤ 5), d原创 2014-07-19 12:23:15 · 77 阅读 · 0 评论