Ticket 11072
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
6 4
90 72 81 74 33 92 
3 4
3 52 71 
Expected Output
110
31
Your Output
110
30
Difference
Generator Parameters
--k_high 9 --k_low 1 --n_high 8 --n_low 2 --t_high 2 --t_low 1 --val_high 99 --val_low 0