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 1115. Ships

I can't understand the problem (at least I get WA1)
Posted by Tbilisi SU: Eldar Bogdanov 29 Sep 2006 21:25
I have some questions about the problem's statement:
1. Is the sum of lengths of the ships equal to the sum of the lengths of the rows?
2. What is the maximum length of a single row?
3. Should I output the lengths in each row in ascending order or in any order I like?

I've got WA1 :rolleyes:
My program gives this output on the sample test:
3
5 2 4
2
3 10
Re: I can't understand the problem (at least I get WA1)
Posted by Tbilisi SU: Eldar Bogdanov 25 Oct 2006 20:37
No ideas? :D
Re: I can't understand the problem (at least I get WA1)
Posted by shrek 1 Nov 2006 19:07
1.Yes they are.
2.maximum length is sum of ships' length 100*100=10000
3.you can output in any order you like