Comment

avatar username

Change r to 1e18 and it works. This is for the case when there's $(999999999, 10^9)$ and $(10^9, 1)$.

The actual rating of this user is 1819.

Original comment.

Statistics