https://codeforces.me/contest/1772/problem/G
i know how to solve the this question for the cases where x(the current rating) is less than the ratings of other players but not able to recognise what to do when when the ratings of all players are greater than x.
just a hint is enough , THANKS!!!!