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 1535. The Hobbit or There and Back Again

wrong sample
Posted by Yashar Abbasov 6 Mar 2007 10:28
I think you gave wrong sample test
for n=4 min is not 1 4 2 3 it is 4 1 2 3
because
1*4+4*2+2*3=18 but 4*1+1*2+2*3=12
Re: wrong sample
Posted by Sandro (USU) 6 Mar 2007 10:51
You are wrong. Read the task more carefully.
Re: wrong sample
Posted by Roma Labish[Lviv NU] 6 Mar 2007 17:54
You are wrang, becouse 1*4+4*2+2*3+3*1 = 21, 4*1+1*2+2*3+3*4 = 24.
Re: wrong sample
Posted by Tbilisi SU: Eldar Bogdanov 6 Mar 2007 18:37
And moreover, the sequence must start with 1.