摘要: #include<stdio.h>void move(int n,char a,char b){ printf("将第%d个盘子从%c移动到%c\n",n,a,b); return;} void hanoi(int n,char a,char b,char c){ if(n==1){ move(n, 阅读全文
posted @ 2020-02-05 10:33 BlueValentines 阅读(98) 评论(0) 推荐(0)