Ticket 194
Problem 1631 -b
Submission 144231299
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
2
1 1 
8
8 4 2 2 6 4 5 1 
1
1 
6
5 4 5 5 4 5 
3
1 1 2 
1
1 
4
3 1 1 4 
6
2 6 1 4 6 6 
2
2 2 
9
5 1 8 2 2 5 8 1 5 
Expected Output
0
3
0
2
2
0
2
2
0
3
Your Output
0
3
0
0
2
2
0
0
2
2
Difference
Generator Parameters
--n_cap 200000 --n_high 10 --n_low 1 --t_cap 20000 --t_high 10 --t_low 10