- 博客(1)
- 资源 (2)
- 收藏
- 关注
原创 汉诺塔问题
void move( char x, char y ) { printf( "%c ---> %c\n", x, y ); } void hanoi( int n, char one, char two, char three ) { if ( n == 1 ) move( one , three ) else { hanoi( n - 1, o
2014-02-24 22:27:12 324
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人