摘要: Description推箱子是一个很经典的游戏.今天我们来玩一个简单版本.在一个M*N的房间里有一个箱子和一个搬运工,搬运工的工作就是把箱子推到指定的位置,注意,搬运工只能推箱子而不能拉箱子,因此如果箱子被推到一个角上(如图2)那么箱子就不能再被移动了,如果箱子被推到一面墙上,那么箱子只能沿着墙移动... 阅读全文
posted @ 2015-08-06 21:12 pb2016 阅读(490) 评论(0) 推荐(1) 编辑
摘要: DescriptionPass a year learning in Hangzhou, yifenfei arrival hometown Ningbo at finally. Leave Ningbo one year, yifenfei have many people to meet. Es... 阅读全文
posted @ 2015-08-05 17:28 pb2016 阅读(382) 评论(0) 推荐(0) 编辑
摘要: DescriptionAngel was caught by the MOLIGPY! He was put in prison by Moligpy. The prison is described as a N * M (N, M #include#includeusing namespace ... 阅读全文
posted @ 2015-08-04 16:00 pb2016 阅读(214) 评论(0) 推荐(1) 编辑
摘要: Description某部队进行新兵队列训练,将新兵从一开始按顺序依次编号,并排成一行横队,训练的规则如下:从头开始一至二报数,凡报到二的出列,剩下的向小序号方向靠拢,再从头开始进行一至三报数,凡报到三的出列,剩下的向小序号方向靠拢,继续从头开始进行一至二报数。。。,以后从头开始轮流进行一至二报数、... 阅读全文
posted @ 2015-08-03 11:19 pb2016 阅读(298) 评论(0) 推荐(1) 编辑
摘要: DescriptionIgnatius被魔王抓走了,有一天魔王出差去了,这可是Ignatius逃亡的好机会.魔王住在一个城堡里,城堡是一个A*B*C的立方体,可以被表示成A个B*C的矩阵,刚开始Ignatius被关在(0,0,0)的位置,离开城堡的门在(A-1,B-1,C-1)的位置,现在知道魔王将... 阅读全文
posted @ 2015-08-03 11:18 pb2016 阅读(864) 评论(2) 推荐(1) 编辑
摘要: Description可怜的公主在一次次被魔王掳走一次次被骑士们救回来之后,而今,不幸的她再一次面临生命的考验。魔王已经发出消息说将在T时刻吃掉公主,因为他听信谣言说吃公主的肉也能长生不老。年迈的国王正是心急如焚,告招天下勇士来拯救公主。不过公主早已习以为常,她深信智勇的骑士LJ肯定能将她救出。现据... 阅读全文
posted @ 2015-08-03 10:09 pb2016 阅读(186) 评论(0) 推荐(1) 编辑
摘要: DescriptionBean-eating is an interesting game, everyone owns an M*N matrix, which is filled with different qualities beans. Meantime, there is only on... 阅读全文
posted @ 2015-08-03 09:36 pb2016 阅读(309) 评论(0) 推荐(1) 编辑
摘要: Description“连连看”相信很多人都玩过。没玩过也没关系,下面我给大家介绍一下游戏规则:在一个棋盘中,放了很多的棋子。如果某两个相同的棋子,可以通过一条线连起来(这条线不能经过其它棋子),而且线的转折次数不超过两次,那么这两个棋子就可以在棋盘上消去。不好意思,由于我以前没有玩过连连看,咨询了... 阅读全文
posted @ 2015-08-02 20:41 pb2016 阅读(207) 评论(0) 推荐(1) 编辑
摘要: DescriptionThe GeoSurvComp geologic survey company is responsible for detecting underground oil deposits. GeoSurvComp works with one large rectangular... 阅读全文
posted @ 2015-08-02 17:58 pb2016 阅读(243) 评论(0) 推荐(1) 编辑
摘要: DescriptionThere is a rectangular room, covered with square tiles. Each tile is colored either red or black. A man is standing on a black tile. From a... 阅读全文
posted @ 2015-08-02 17:56 pb2016 阅读(188) 评论(0) 推荐(0) 编辑