Ticket 15921
Problem 1693 -b
Submission 165784334
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
9
1 2 2 2 3 5 6 6 
3 7
9 9
4 6
1 5
6 7
4 7
3 5
1 3
5 9
2
1 
8 9
3 7
Expected Output
5
2
Your Output
6
2
Difference
Generator Parameters
--L_or_R_high 9 --L_or_R_low 1 --n_high 9 --n_low 2 --t_high 2 --t_low 1