Ticket 11452
Problem 1690 -e
Submission 159934650
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
8 2
34 18 30 67 58 52 27 68 
14 6
26 81 16 65 23 89 70 39 33 93 51 52 29 35 
Expected Output
177
115
Your Output
177
116
Difference
Generator Parameters
--half_n_high 9 --half_n_low 1 --k_high 9 --k_low 1 --t_high 2 --t_low 1 --val_high 99 --val_low 0