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 1506. Columns of Numbers

MISTAKE
Posted by Ilya (Vologda SPU) 20 Oct 2009 01:41
4 3
1 2 30 40

For this input there is no solution!!
No way exists for 4 numbers to be placed into 3 columns, when 2 columns has equal length and 3rd has littler length!
(but this input doesn't permitted by the statement of the task o_O)
Re: MISTAKE
Posted by Ilya (Vologda SPU) 20 Oct 2009 19:18
И что с этим делать? Я опять запутался >_<

Edited by author 20.10.2009 21:41
Re: MISTAKE
Posted by Alex Tolstov (Vologda STU) 21 Oct 2009 01:52
Read the statement more carefully.
It is guaranteed that solution is always exist.