摘要: Problem DescriptionJohn has several lines. The lines are covered on the X axis. Let A is a point which is covered by the most lines. John wants to kno... 阅读全文
posted @ 2014-11-29 23:46 闪光阳 阅读(540) 评论(6) 推荐(0) 编辑
摘要: StampsThe government of Nova Mareterrania requires that various legal documents have stamps attached to them so that the government can derive revenue... 阅读全文
posted @ 2014-11-29 15:51 闪光阳 阅读(171) 评论(0) 推荐(0) 编辑
摘要: How Big Is It?Ian's going to California, and he has to pack his things, including his collection of circles. Given a set of circles, your program must... 阅读全文
posted @ 2014-11-29 10:13 闪光阳 阅读(151) 评论(0) 推荐(0) 编辑
摘要: Mapping the SwapsSorting an array can be done by swapping certain pairs of adjacent entries in the array. This is the fundamental technique used in th... 阅读全文
posted @ 2014-11-28 19:56 闪光阳 阅读(171) 评论(0) 推荐(0) 编辑
摘要: The Settlers of CatanWithinSettlers of Catan, the 1995 German game of the year, players attempt to dominate an island by building roads, settlements a... 阅读全文
posted @ 2014-11-28 19:33 闪光阳 阅读(142) 评论(0) 推荐(0) 编辑
摘要: TransportationRuratania is just entering capitalism and is establishing new enterprising activities in many fields including transport. The transporta... 阅读全文
posted @ 2014-11-28 19:28 闪光阳 阅读(189) 评论(0) 推荐(0) 编辑
摘要: Problem I23 Out of 5Input:standard inputOutput:standard outputTime Limit:1 secondMemory Limit:32 MBYour task is to write a program that can decide whe... 阅读全文
posted @ 2014-11-28 12:35 闪光阳 阅读(143) 评论(0) 推荐(0) 编辑
摘要: Don't Get RookedIn chess, the rook is a piece that can move any number of squares vertically or horizontally. In this problem we will consider small c... 阅读全文
posted @ 2014-11-28 11:59 闪光阳 阅读(126) 评论(0) 推荐(0) 编辑
摘要: Getting in LineComputer networking requires that the computers in the network be linked.This problem considers a ``linear" network in which the comput... 阅读全文
posted @ 2014-11-28 10:43 闪光阳 阅读(124) 评论(0) 推荐(0) 编辑
摘要: Meta-Loopless SortsBackgroundSorting holds an important place in computer science. Analyzing and implementing various sorting algorithms forms an impo... 阅读全文
posted @ 2014-11-28 09:39 闪光阳 阅读(124) 评论(0) 推荐(0) 编辑