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