if ($argv[1]) 0 then
set from = $argv[2]
set to = $argv[3]
set using = $argv[4]
@ n argv[1] -1
hanoi $n $form $to $using
echo move $form -> $to
hanoi $n $using $form $to
endif
if ($argv[1]) 0 then
set from = $argv[2]
set to = $argv[3]
set using = $argv[4]
@ n argv[1] -1
hanoi $n $form $to $using
echo move $form -> $to
hanoi $n $using $form $to
endif
댓글 0