Ticket 3997
Problem 1665 -c
Submission 153107285
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
4
9
4 4 1 9 8 8 2 4 
9
1 6 1 9 2 8 1 1 
8
1 2 7 6 4 2 5 
6
5 2 6 1 2 
Expected Output
6
6
7
5
Your Output
6
7
7
5
Difference
Generator Parameters
--n_high 9 --n_low 2 --t_high 5 --t_low 1