摘要: poj 2488 knight's journeyBackgroundThe knight is getting bored of seeing the same black and white squares again and again and has decided to make a journeyaround the world. Whenever a knight moves, it is two squares in one direction and one square perpendicular to this. The world of a knight is the 阅读全文
posted @ 2011-01-05 01:41 love && peace 阅读(208) 评论(0) 推荐(0) 编辑
摘要: poj 2251InputThe input consists of a number of dungeons. Each dungeon description starts with a line containing three integers L, R and C (all limited to 30 in size).L is the number of levels making up the dungeon.R and C are the number of rows and columns making up the plan of each level.Then there 阅读全文
posted @ 2011-01-05 00:42 love && peace 阅读(250) 评论(0) 推荐(0) 编辑