Comment

avatar username

For Problem E, simply use line sweep:

keep track of total a[i] and b[i] at each point. Then line sweep them.

The actual rating of this user is 1476.

Original comment.

Statistics