Ticket 12395
Problem 1672 -c
Submission 160820101
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
8
2 5 6 5 5 2 2 6 
4
5 5 6 5 
4
6 3 1 2 
11
5 4 6 2 4 5 4 2 5 3 5 
14
3 1 2 4 3 4 5 5 5 1 1 3 4 6 
13
6 3 5 2 4 3 6 3 2 5 5 3 6 
11
6 4 4 6 4 6 6 3 3 5 5 
7
3 1 3 1 2 2 1 
14
6 5 2 4 1 5 2 5 5 3 6 1 6 3 
14
4 3 6 4 6 2 1 5 3 5 2 6 2 6 
Expected Output
1
0
0
0
2
0
7
0
0
0
Your Output
1
0
0
0
3
0
7
0
0
0
Difference
Generator Parameters
--n_high 15 --n_low 2 --t_high 10 --t_low 10 --val_high 6 --val_low 1