Ticket 592
Problem 1635 -f
Submission 147380764
View hacks & all small testcases

Unable to dry run this testcase?
Try making a new request with small values of n_high, t_high, *_high, etc.


Retry
Input
4 1
-4 1
-2 2
-1 9
1 1
1 4
Expected Output
6
Your Output
9
Difference
Generator Parameters
--n_cap 300000 --n_high 4 --n_low 2 --q_cap 300000 --q_high 1 --q_low 1 --w_cap 1000000000 --w_high 9 --w_low 1 --x_cap 1000000000 --x_floor -1000000000 --x_high 9 --x_low -9