Search found 1 match

by Mikael Sterner
Tue Aug 20, 2002 11:41 am
Forum: Volume 2 (200-299)
Topic: 254 - Towers of Hanoi
Replies: 39
Views: 20550

254: n=0, m=0 ?

Is the following a valid set of inputs and outputs for problem 254? (Towers of hanoi; input: 'number of discs', 'move index'; output: discs in stack 'A', 'B', 'C' after the moves.)

Input:
0 0
0 0

Output:
0 0 0

This is said: "The input file will consist of a series of lines. Each line will contain ...

Go to advanced search