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 1945. Many-armed Brothers

Inaccurate statement of the problem
Posted by Dmitry Savin 16 May 2013 19:43
There can be at least another correct solution but it is not clear which one is the answer to the question. For instance,
5 2
1
2
3
4
6

has several solution, some of them are
1   2   1   2
2   1   2   1
1   2   2   1
1   2   1   2
2   1   1   2

Which one should I print?
Re: Inaccurate statement of the problem
Posted by Sandro (USU) 17 May 2013 21:33
You may output any correct solution. Problem statement is fixed.