ENG  RUSTimus Online Judge
Online Judge
Problems
Authors
Online contests
About Online Judge
Frequently asked questions
Site news
Webboard
Links
Problem set
Submit solution
Judge status
Guide
Register
Update your info
Authors ranklist
Current contest
Scheduled contests
Past contests
Rules
back to board

Discussion of Problem 1054. Tower of Hanoi

Get wrong answer on first test
Posted by Alexei Sukhonosov 19 Feb 2007 00:15
Can anyone tell me what are the input data for this test?
The program seems to work OK here are some test results:

3
3 3 1          3

3
2 2 2          7

3
1 2 2          6

2
2 1            -1