Ticket 11353
Problem 1690 -e
Submission 159904274
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 2
26 30 38 2 46 98 79 46 16 60 52 20 86 74 62 3 8 80 
14 5
85 30 59 53 98 70 89 99 61 52 23 90 88 28 
Expected Output
413
184
Your Output
413
183
Difference
Generator Parameters
--half_n_high 9 --half_n_low 1 --k_high 5 --k_low 1 --t_high 2 --t_low 1 --val_high 99 --val_low 0