Ticket 698
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
4 6
Query 2
Color 2 3 4
Query 3
Add 2 2
Add 1 -2
Color 1 1 4
Expected Output
0
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