Ticket 7154
Problem 1680 -d
Submission 157235684
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
9 5
-1 0 0 -4 -6 -9 0 0 9 
Expected Output
24
Your Output
20
Difference
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