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 2035. Another Dress Rehearsal

Not working on 7...
Posted by Andrew66 13 Oct 2015 22:02
I came up with a solution that deals with the problems mentioned in the other topics, but still get wa on test 7 after I tried all tests that I could think of. Why is this? Does anybody know what test 7 is? Thanks in advance! :)

Edited by author 13.10.2015 22:03
Re: Not working on 7...
Posted by Ekaterina 2 Jan 2016 13:21
Remember that X ONLY applies to A and Y ONLY applies to B.
For example: 7 5 11
Your answer can be 6 5, but it cant be 5 6.