摘要: Problem DescriptionWhile studying the history of royal families, you want to know how wealthy each family is. While you have various 'net worth' figures for each individual throughout history, this is complicated by double counting caused by inheritance. One way to estimate the wealth of a f 阅读全文
posted @ 2013-07-18 23:39 Oyking 阅读(319) 评论(0) 推荐(0)
摘要: Petya loves volleyball very much. One day he was running late for a volleyball match. Petya hasn't bought his own car yet, that's why he had to take a taxi. The city hasnjunctions, some of which are connected by two-way roads. The length of each road is defined by some positive integer numbe 阅读全文
posted @ 2013-07-18 23:12 Oyking 阅读(494) 评论(0) 推荐(0)
摘要: Problem DescriptionHave you ever played quoit in a playground? Quoit is a game in which flat rings are pitched at some toys, with all the toys encircl... 阅读全文
posted @ 2013-07-18 18:39 Oyking 阅读(282) 评论(0) 推荐(0)