请大家帮忙呀! 关于汉诺塔问题
我怎么就是看不明白呀! if(n==1) move(one,three);
else{
hanoi(n-1,one,three,two);
move(one,three);
hanoi(n-1,two,one,three);
当n=1的时候 执行move(one,three);
然后执行什么呀??
2005-04-07 18:52

2005-04-07 19:00
2005-04-08 09:13