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

Which are the results when.....????
Posted by Miguel Angel 14 Dec 2001 11:10
I have finished of reading the problem, but i have a doubt.
When the input is:
3
2 2 2
Output is
0 ???
AND (Most important)
When the input is
3
1 2 2
Output is
0 ???
Re: Which are the results when.....????
Posted by I have answers to all your questions :) 15 Dec 2001 09:07
Input
3
2 2 2
Output
7
Input
3
1 2 2
Output is
6