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 2015. Zhenya moves from the dormitory

WA 5
Posted by KOTMAKRUS 15 Oct 2014 12:32
Give me some tests please
Re: WA 5
Posted by morbidel 17 Oct 2014 15:13
Not related to WA5, but to WA4 - perhaps it helps anyway:
I got wa4 when forgot to add the advantage of each apartment, to the total value, before comparing to current max.
Re: WA 5
Posted by SButterfly [Samara SAU] 8 Nov 2014 23:33
I got WA5. But I have passed it.
My error was in copypast. When I was comparing current maximum, I used wrong massive. I want to calculate maximum living along in 2 bedroom apartment massive , but I took values from one bedroom apartment massive :(
Re: WA 5
Posted by Amphibian 12 Nov 2014 19:49
Try this:
1 0 0
0
1
2 1 1