Ticket 11083
Problem 1690 -e
Submission 159834552
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
7 6
26 23 99 19 13 48 43 
6 9
30 8 97 83 17 22 
Expected Output
44
28
Your Output
44
27
Difference
Generator Parameters
--k_high 9 --k_low 1 --n_high 10 --n_low 2 --t_high 2 --t_low 1 --val_high 99 --val_low 0