Ticket 453
Problem 1638 -e
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
7 5
Color 2 7 6
Add 5 -2
Color 2 6 1
Query 2
Color 2 2 3
Expected Output
0
Generator Parameters
--n_cap 1000000 --n_high 7 --n_low 1 --q_cap 1000000 --q_high 9 --q_low 1 --x_cap 1000000000 --x_floor -1000000000 --x_high 3 --x_low -3