摘要:
1.。。。。。。。。。。。。。。。。。。。。#include void hanoi(char from, char pass, char to, unsigned n){ if (n == 1) { printf("%c ==> %c\n", from, to); } else { hanoi(from, to, pass, n - 1); hanoi(from, pass, to, 1); hanoi(pass, from, to, n - 1); }}void hanoi1(char... 阅读全文