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