摘要: 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... 阅读全文
posted @ 2013-09-01 19:20 泛起的鱼 阅读(223) 评论(0) 推荐(0) 编辑