摘要: Problem DescriptionAfter coding so many days,Mr Acmer wants to have a good rest.So travelling is the best choice!He has decided to visit n cities(he insists on seeing all the cities!And he does not mind which city being his start station because superman can bring him to any city at first but only o 阅读全文
posted @ 2013-12-01 17:19 persistent codeants 阅读(200) 评论(0) 推荐(0)
摘要: Problem DescriptionEight-puzzle, which is also called "Nine grids", comes from an old game.In this game, you are given a 3 by 3 board and 8 tiles. The tiles are numbered from 1 to 8 and each covers a grid. As you see, there is a blank grid which can be represented as an 'X'. Tiles 阅读全文
posted @ 2013-12-01 14:44 persistent codeants 阅读(225) 评论(0) 推荐(0)