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

TEST 2 :
Posted by Adhambek 23 Jun 2013 04:30
input :
15 4
1 2 30 994 50 600 700 999 900 990 991 992 993 40 800
output :
   1  50 900 993
   2 600 990  40
  30 700 991 800
 994 999 992
Re: TEST 2 :
Posted by INSOOP 10 Mar 2019 23:12
input::
9 2
1 2 3 4 5 6 7 8 9
output::
   1   6
   2   7
   3   8
   4   9
   5