Ticket 16409
Problem 1747 -d
Submission 179291053
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
16 15 0 7 3 4 16 
2 2
3 6
5 6
1 7
2 2
6 7
Expected Output
-1
1
-1
-1
-1
-1
Your Output
-1
1
2
-1
-1
-1
-1
Difference
Generator Parameters
--ai_high 17 --ai_low 0 --n_high 9 --n_low 1 --q_high 9 --q_low 1