摘要: 这是一个简单的生存游戏,你控制一个机器人从一个棋盘的起始点(1,1)走到棋盘的终点(n,m)。游戏的规则描述如下:1.机器人一开始在棋盘的起始点并有起始点所标有的能量。2.机器人只能向右或者向下走,并且每走一步消耗一单位能量。3.机器人不能在原地停留。4.当机器人选择了一条可行路径后,当他走到这条路 阅读全文
posted @ 2019-02-17 23:20 WAKBGAN 阅读(149) 评论(0) 推荐(0) 编辑
摘要: Problem Description 搬寝室是很累的,xhd深有体会.时间追述2006年7月9号,那天xhd迫于无奈要从27号楼搬到3号楼,因为10号要封楼了.看着寝室里的n件物品,xhd开始发呆,因为n是一个小于2000的整数,实在是太多了,于是xhd决定随便搬2*k件过去就行了.但还是会很累, 阅读全文
posted @ 2019-02-17 19:30 WAKBGAN 阅读(124) 评论(0) 推荐(0) 编辑
摘要: Problem Description Now here is a matrix with letter 'a','b','c','w','x','y','z' and you can change 'w' to 'a' or 'b', change 'x' to 'b' or 'c', chang 阅读全文
posted @ 2019-02-17 15:29 WAKBGAN 阅读(174) 评论(0) 推荐(0) 编辑
摘要: Problem Description Bean-eating is an interesting game, everyone owns an M*N matrix, which is filled with different qualities beans. Meantime, there i 阅读全文
posted @ 2019-02-17 14:27 WAKBGAN 阅读(336) 评论(0) 推荐(0) 编辑