UVa11300 - Spreading the Wealth (分金币)
摘要:
F. Spreading the WealthProblemA Communist regime is trying to redistribute wealth in a village. They have have decided to sit everyone around a circular table. First, everyone has converted all of their properties to coins of equal value, such that the total number of coins is divisible by the numbe 阅读全文
posted @ 2013-05-24 21:03 nigel_jw 阅读(145) 评论(0) 推荐(0) 编辑