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

WA16
Posted by watashi 6 Jun 2015 15:53
Try this test:
1 0 0
0
1
1 1 0

Answer: You should rent the apartment #1 alone.