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