Ticket 10310
Problem 1688 -d
Submission 159385239
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
10
5 2
9 9 9 1 8 
2 1
3 4 
3 6
2 8 7 
9 7
1 1 4 2 8 6 9 9 7 
5 6
5 8 6 4 1 
6 2
7 1 2 6 1 7 
7 1
5 5 3 2 4 6 4 
9 2
3 2 1 2 5 5 9 8 2 
1 5
4 
6 1
1 2 7 2 4 2 
Expected Output
19
4
29
66
39
9
6
18
8
7
Your Output
19
4
29
66
39
15
6
18
8
7
Difference
Generator Parameters
--k_high 9 --k_low 1 --n_high 9 --n_low 1 --t_high 10 --t_low 10 --val_high 9 --val_low 1