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

clarif on columns: K<=sqrt(n+3)
Posted by Stanislav Vasilyev 28 Oct 2006 15:06
in input K<=sqrt(n+3) (this is required to be sure, that solution exists)
Re: clarif on columns: K<=sqrt(n+3)
Posted by lamot 28 Oct 2006 15:41
не только. еще не совсем понятно как расположить 12 элементов в 5 колонок, например?? так что бы последняя колонка не была пустой и не содержала больше элементов чем предыдущие
Re: clarif on columns: K<=sqrt(n+3)
Posted by Tbilisi SU: Alexandr Sarkisov 28 Oct 2006 18:31
Input 11 5 is impossible, it is not declared by judjes, but it is so, because 11 5 has no way to complete all conditions of the problem.
Re: clarif on columns: K<=sqrt(n+3)
Posted by khanh45a3kct 4 Jan 2007 06:47
"It is guaranteed that solution is alwasy exist."