This commit is contained in:
2025-03-10 16:46:29 +01:00
parent 2915fec180
commit 46894bd504
4 changed files with 10 additions and 10 deletions

View File

@@ -56,7 +56,7 @@ class Hanoi(Feladat):
return lepesek
K=Hanoi(8) # 2^n - 1
K=Hanoi(13) # 2^n - 1
print(len(szélességi_gráfkeresés(K).megoldás()))

View File

@@ -60,7 +60,7 @@ class Hanoi(Feladat):
return lepesek
h = Hanoi(8)
h = Hanoi(15)
#print(h.result('123', Act(0,'2')))
#print(h.rákövetkező('321'))
@@ -72,4 +72,4 @@ while h.célteszt(h.kezdő)==False:
h.mod(lepes)
#print(lepes)
k+=1
print(k)
print(k)