摘要: 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 闪光阳 阅读(191) 评论(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 闪光阳 阅读(148) 评论(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 闪光阳 阅读(202) 评论(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 闪光阳 阅读(152) 评论(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 闪光阳 阅读(138) 评论(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 闪光阳 阅读(132) 评论(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 闪光阳 阅读(134) 评论(0) 推荐(0)