Ticket 11064
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
3 2
63 26 58 
5 2
56 0 22 55 42 
Expected Output
73
87
Your Output
42
60
Difference
Generator Parameters
--k_high 10 --k_low 1 --n_high 8 --n_low 2 --t_high 2 --t_low 1 --val_high 99 --val_low 0