Ticket 4138
Problem 1665 -c
Submission 153074382
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
14
1 2 12 8 9 6 10 14 12 1 2 12 10 
14
8 11 12 10 8 13 11 1 12 13 1 1 8 
14
11 11 1 7 3 10 6 4 9 9 2 4 11 
14
11 2 3 10 10 2 14 2 2 13 3 1 3 
14
9 7 3 13 8 1 13 13 14 4 4 14 12 
14
14 1 9 12 13 4 5 12 6 14 2 1 6 
14
11 11 11 1 1 1 10 10 1 1 11 10 10 
14
4 1 1 1 9 2 7 2 14 4 10 2 2 
14
8 1 3 8 12 11 14 1 3 6 1 7 10 
14
13 8 14 7 4 14 10 10 1 6 6 9 9 
Expected Output
9
7
10
8
10
10
5
8
10
10
Your Output
9
7
10
8
10
10
6
8
10
10
Difference
99
77
1010
88
1010
1010
56
88
1010
1010
Generator Parameters
--n_high 14 --n_low 14 --t_high 10 --t_low 10