摘要:
1 #include<iostream> 2 #include<string> 3 4 using namespace std; 5 6 void Hanoi(int n,char A,char B,char C); 7 8 void main() 9 {10 Hanoi(5,'A','B','C');11 }12 13 void Hanoi(int n,char A,char B,char C)14 {15 if(n==1)16 cout<<"Move top disk from peg " 阅读全文
posted @ 2013-04-28 15:19
猿人谷
阅读(183)
评论(0)
推荐(0)
浙公网安备 33010602011771号