Ticket 6116
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
5 9
Query 5
Add 1 1
Add 2 -1
Query 3
Query 4
Color 3 5 5
Add 1 -2
Query 5
Add 1 -2
Expected Output
0
1
1
1
Generator Parameters
--n_high 7 --n_low 1 --q_high 9 --q_low 1 --x_high 3 --x_low -3