Ticket 11370
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
2
16 8
93 66 16 60 82 20 32 27 77 77 44 59 42 19 88 37 
6 8
3 87 43 55 19 93 
Expected Output
104
37
Your Output
103
37
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