Ticket 11397
Problem 1690 -e
Submission 159914645
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
12 6
1 8 0 3 6 8 0 3 4 3 2 6 
12 2
9 0 9 10 6 4 0 0 2 1 6 10 
Expected Output
6
28
Your Output
 8
 28
Difference
Generator Parameters
--half_n_high 9 --half_n_low 1 --k_high 10 --k_low 1 --t_high 2 --t_low 1 --val_high 10 --val_low 0