汉诺塔

func:
if n!=0 then func(n-1, a, c, b) move a[n] to c func(n-1, b, a, c) endif
posted @ 2021-10-01 01:43  白-white  阅读(65)  评论(0)    收藏  举报