摘要: 棋盘问题Time Limit:1000MSMemory Limit:10000KTotal Submissions:27072Accepted:13392Description在一个给定形状的棋盘(形状可能是不规则的)上面摆放棋子,棋子没有区别。要求摆放时任意的两个棋子不能放在棋盘中的同一行或者同一... 阅读全文
posted @ 2015-07-14 17:20 Deribs4 阅读(146) 评论(0) 推荐(0) 编辑
摘要: 迷宫问题Time Limit:1000MSMemory Limit:65536KTotal Submissions:10528Accepted:6260Description定义一个二维数组:int maze[5][5] = { 0, 1, 0, 0, 0, 0, 1, 0, 1, 0, 0, 0,... 阅读全文
posted @ 2015-07-14 16:18 Deribs4 阅读(201) 评论(0) 推荐(0) 编辑
摘要: Agri-NetTime Limit:1000MSMemory Limit:10000KTotal Submissions:44147Accepted:18054DescriptionFarmer John has been elected mayor of his town! One of his... 阅读全文
posted @ 2015-07-14 12:22 Deribs4 阅读(172) 评论(0) 推荐(0) 编辑
摘要: HighwaysTime Limit:1000MSMemory Limit:65536KTotal Submissions:24326Accepted:11229DescriptionThe island nation of Flatopia is perfectly flat. Unfortuna... 阅读全文
posted @ 2015-07-14 11:34 Deribs4 阅读(128) 评论(0) 推荐(0) 编辑
摘要: 小孩报数问题Time Limit:1000MSMemory Limit:65536KTotal Submissions:11527Accepted:5293Description有N个小孩围成一圈,给他们从1开始依次编号,现指定从第W个开始报数,报到第S个时,该小孩出列,然后从下一个小孩开始报数,仍... 阅读全文
posted @ 2015-07-14 08:05 Deribs4 阅读(237) 评论(0) 推荐(0) 编辑