Блог пользователя wrusb

Автор wrusb, история, 3 часа назад, По-английски

Can anyone help me with the Tower of Hanoi problem with 4 pegs? The maximum number of disks is 100, and we don't need to optimize the number of moves. We need to print the number of moves and the moves, so we can't use too much moves. I can only solves when the number of disks is <=40;

  • Проголосовать: нравится
  • -3
  • Проголосовать: не нравится

»
2 минуты назад, скрыть # |
Rev. 2  
Проголосовать: нравится 0 Проголосовать: не нравится

we don't need to optimize the number of moves.

so we can't use too much moves.

how many moves can we use?