Ticket 16667
Problem 1779 -c
Submission 187780125
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
1
8 8
0 2 1 1 1 2 2 2 
Expected Output
3
Your Output
4
Difference
Generator Parameters
--t_high 1 --t_low 1 --n_high 8 --n_low 8 --val_high 2 --val_low -2