漢諾塔//河內塔(Tower of Hanoi)

#漢諾塔//河內塔(Tower of Hanoi) #include<#iostream> using namespace std; static int index = 0; void hanuota(int n, char a, char b, char c) { if (n == 1) { printf(「將%d編號的%c直接移動到%c\n」, n, a, c); } else { hanu
相關文章
相關標籤/搜索