HanoiTower思路分析和代码实现
摘要:// HannoiTower public class HanoiTower{ //编写一个main方法 public static void main(String[]args){ Tower tower = new Tower(); tower.move(3,'A','B','C'); }}cl
阅读全文
老鼠出迷宫代码编译即思路分析
摘要:// MiGong01.javapublic class MiGong01{ //编写一个mian函数 public static void main(String[]args){ //先使用二维数组一个8行7列的的地图 //用0表示可以走的路用1 表示路障 int[][] map = new in
阅读全文