Ticket 7067
Problem 1680 -d
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
7 1
-4 0 0 -7 0 -9 6 
Expected Output
-1
Generator Parameters
--k_high 9 --k_low 1 --n_high 9 --n_low 1 --val_high 9 --val_low -9 --zero_should_be_present 1