Ticket 5572
Problem 1668 -d
Submission 154500127
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
15
0 -302 0 0 -480 670 -451 301 0 0 0 0 -80 0 0 
13
0 0 957 218 0 285 337 -708 0 -158 127 -667 314 
Expected Output
10
13
Your Output
8
13
Difference
Generator Parameters
--absolute_value_of_elements_high 1000 --absolute_value_of_elements_low 0 --n_high 15 --n_low 1 --t_high 2 --t_low 1