Ticket 11373
Problem 1690 -e
Submission 159858817
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
4
10 2
53 8 62 28 77 22 75 63 80 77 
12 2
48 28 37 46 45 58 4 32 60 63 79 99 
14 5
8 70 73 76 13 88 45 8 50 61 61 24 81 46 
14 1
64 80 55 49 91 97 83 81 39 31 2 8 20 6 
Expected Output
272
299
139
706
Your Output
272
299
138
706
Difference
Generator Parameters
--half_n_high 9 --half_n_low 1 --k_high 9 --k_low 1 --t_high 6 --t_low 1 --val_high 99 --val_low 0