Ticket 15986
Problem 1700 -d
Submission 167049426
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
7
6 9 2 9 1 4 7 
9
1
4
5
4
3
7
6
1
10
Expected Output
-1
-1
-1
-1
-1
-1
-1
-1
4
Your Output
-1
-1
-1
-1
-1
6
6
-1
4
Difference
Generator Parameters
--n_high 9 --n_low 1 --q_high 11 --q_low 1 --tj_high 11 --tj_low 1 --val_high 11 --val_low 1