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 2075. Take care of your eyebrows!

Can anynoe tell me what trap is there in test#2
Posted by wtw 29 Mar 2016 20:14
Re: Can anynoe tell me what trap is there in test#2
Posted by bsu.mmf.team 18 Jun 2016 18:15
Pay attention to this: "Oleg stops drinking as soon as there is no cocktail on the current height. But in case barman pours the liqueur exactly at this moment Oleg continues drinking".

So, for the test
3
1 a 30
20 Oleg 20
31 a 30
correct answer is:
20-30 a
and not is
20-30 a
31-61 a

This helped me to pass 2nd test.