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 1484. Film Rating

Hint
You CAN'T just assume x2 = x + 0.5 because x2 is some INTEGER / n. So max x2 can be x or x + 0.1 + x + 0.38 etc. Took me 15 minutes to ac after I understood it