摘要: 描述BackgroundThe knight is getting bored of seeing the same black and white squares again and again and has... 阅读全文
posted @ 2016-09-07 13:12 Izayoi_Doyo 阅读(232) 评论(0) 推荐(0) 编辑
摘要: 描述马在中国象棋以日字形规则移动。请编写一段程序,给定n*m大小的棋盘,以及马的初始位置(x,y),要求不能重复经过棋盘上的同一个点,计算马可以有多少途径遍历棋盘上的所有点。输入第一行为整数T(T #includ... 阅读全文
posted @ 2016-09-07 13:10 Izayoi_Doyo 阅读(425) 评论(0) 推荐(0) 编辑