[UVA][遞迴] 10795 - A Different Task
A Different Task
The (Three peg) Tower of Hanoi problem is a popular
one in computer science. Briefly the problem is
to transfer all the disks from
peg-A to peg-C using peg-B as intermediate one in such a
way that at no stage a larger disk...