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

which one is true
Posted by togtoh 23 Apr 2007 16:40
9=n 3=k
 1 4 7             1 5 9
 2 5 8             2 6
 3 6 9      or     3 7
                   4 8
Re: which one is true
Posted by BlackShark 25 Dec 2008 19:02
The task says: 'their<columns'> height would be minimal'.
So the right one is correct.
Re: which one is true
Posted by BlackShark 25 Dec 2008 20:08
which answer?
n=11,k=5, '1 2 3 4 5 6 7 8 9 10 11';
1  4  7  10  ?
2  5  8  11  ?
3  6  9   ?  ?
or
1  4  6  8  10
2  5  7  9  11
3  ?  ?  ?
Re: which one is true
>>which answer?
>>n=11,k=5, '1 2 3 4 5 6 7 8 9 10 11';
>>1 4 7 10 ?
>>2 5 8 11 ?
>>3 6 9 ? ?
>>or
>>1 4 6 8 10
>>2 5 7 9 11
>>3 ? ? ?

My AC program show :
1 3 5 7 9 11
2 4 6 8 10

Edited by author 11.03.2009 15:58
Re: which one is true
Posted by Te4NIK 13 Feb 2010 01:43
BlackShark wrote 25 December 2008 20:08
which answer?
n=11,k=5, '1 2 3 4 5 6 7 8 9 10 11';
1  4  7  10  ?
2  5  8  11  ?
3  6  9   ?  ?
or
1  4  6  8  10
2  5  7  9  11
3  ?  ?  ?

Read task.

>>It is guaranteed that solution is always
Right Answer!!!
Posted by Quramboyev Akbar Shox! 25 Aug 2010 09:55
My AC Program right:
11 5
1 2 3 4 5 6 7 8 9 10 11
answer:
   1   4   7  10
   2   5   8  11
   3   6   9