Ticket 17112
Problem 1884 -d
Submission 229189427
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
2
6
6 5 1 5 4 3 
6
4 2 3 6 3 1 
Expected Output
0
0
Your Output
0
4
Difference
Generator Parameters
--n_high 6 --n_low 6 --t_high 2 --t_low 1