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