C語言河內塔 - Yahoo!奇摩知識+

C語言河內塔 - Yahoo!奇摩知識+

瀏覽:841
日期:2024-07-28
有人可以給我下列程式如何演算的詳解嗎~我已經推很久都推不出來#include #include int hanoi(int n, char A, char B, char C) {static int x=0;if(n == 1) { printf("n=%d\\n",n);printf("qqq %d from %c to %c\\n", n, A ...tw.knowledge.yahoo.com/question/question?qid=1106111302190&...看更多