摘要: C - Catch That Cow POJ - 3278 C - Catch That Cow POJ - 3278 C - Catch That Cow Farmer John has been informed of the location of a fugitive cow and wan 阅读全文
posted @ 2018-07-31 15:13 focus5679 阅读(95) 评论(0) 推荐(0) 编辑
摘要: B - Dungeon Master POJ - 2251 You are trapped in a 3D dungeon and need to find the quickest way out! The dungeon is composed of unit cubes which may o 阅读全文
posted @ 2018-07-31 14:55 focus5679 阅读(121) 评论(0) 推荐(0) 编辑
摘要: A - 棋盘问题 POJ - 1321 在一个给定形状的棋盘(形状可能是不规则的)上面摆放棋子,棋子没有区别。要求摆放时任意的两个棋子不能放在棋盘中的同一行或者同一列,请编程求解对于给定形状和大小的棋盘,摆放k个棋子的所有可行的摆放方案C。 Input 输入含有多组测试数据。 每组数据的第一行是两个 阅读全文
posted @ 2018-07-31 14:42 focus5679 阅读(100) 评论(0) 推荐(0) 编辑