Ticket 16871
Problem 1690 -e
Submission 209256524
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
18 9
25 25 39 28 12 54 53 54 61 46 34 83 95 32 60 64 91 19 
12 9
14 54 16 50 78 95 62 28 37 77 42 71 
Expected Output
96
68
Your Output
95
68
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