Ticket 3948
Problem 1665 -c
Submission 153072564
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
12
8
3 6 1 4 4 6 6 
11
11 1 11 11 3 3 3 1 11 1 
6
1 4 5 1 3 
13
6 4 8 8 1 9 1 1 6 9 9 6 
9
8 4 6 9 1 4 6 8 
17
3 14 14 7 2 14 15 1 3 3 14 15 1 3 4 11 
17
12 8 1 16 4 6 4 1 13 4 8 12 8 2 10 4 
16
9 7 14 4 1 1 4 16 14 14 3 4 9 14 3 
5
4 5 3 1 
9
1 4 1 6 9 9 1 1 
13
12 11 11 13 1 1 6 12 1 12 6 11 
16
7 14 1 8 12 9 4 1 14 9 13 14 9 12 9 
Expected Output
5
5
5
6
6
9
10
8
5
5
6
9
Your Output
5
4
5
6
6
9
10
8
5
5
6
9
Difference
Generator Parameters
--t_high 20 --t_high 20 --n_high 20 --n_low 5