摘要:
Problem F: Frequent valuesYou are given a sequence ofnintegersa1, a2, ... , anin non-decreasing order. In addition to that, you are given several queries consisting of indicesiandj(1 ≤ i ≤ j ≤ n). For each query, determine the most frequent value among the integersai, ... , aj.Input SpecificationThe 阅读全文
posted @ 2014-03-06 15:43
再见~雨泉
阅读(1463)
评论(0)
推荐(0)
摘要:
N(3N20000)ping pong players live along a west-east street(consider the street as a line segment). Each player has a unique skill rank. To improve their skill rank, they often compete with each other. If two players want to compete, they must choose a referee among other ping pong players and hold th 阅读全文
posted @ 2014-03-06 15:28
再见~雨泉
阅读(1248)
评论(0)
推荐(0)

浙公网安备 33010602011771号