摘要:
Restoring Road Network In Takahashi Kingdom, which once existed, there are N cities, and some pairs of cities are connected bidirectionally by roads. 阅读全文
摘要:
问题 I: Sandglass 题目描述 We have a sandglass consisting of two bulbs, bulb A and bulb B. These bulbs contain some amount of sand. When we put the sandglas 阅读全文
摘要:
Don't Be a Subsequence 时间限制: 1 Sec 内存限制: 128 MB 题目描述 A subsequence of a string S is a string that can be obtained by deleting zero or more characters 阅读全文
摘要:
Different Integers Given a sequence of integers a1, a2, ..., an and q pairs of integers (l1, r1), (l2, r2), ..., (lq, rq), find count(l1, r1), count(l 阅读全文