Anonymous user
Towers of Hanoi: Difference between revisions
→Using binary method
Line 412:
Very fast version in BASIC V2 on Commodore C-64
<lang gwbasic> 10 def fnm(x)=x-int(x/3)*3:rem modulo
20 n=
30 end
100 rem hanoi
|
Line 412:
Very fast version in BASIC V2 on Commodore C-64
<lang gwbasic> 10 def fnm(x)=x-int(x/3)*3:rem modulo
20 n=
30 end
100 rem hanoi
|