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