Ticket 11355
Problem 1690 -e
Submission 159904665
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
12 3
49 31 32 75 93 24 80 53 82 9 0 63 
12 5
96 67 87 86 48 27 51 82 34 39 56 72 
Expected Output
197
147
Your Output
197
148
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