Ticket 17106
Problem 1887 -d
Submission 229544478
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
9
3 6 4 1 2 5 8 9 7 
1
1 9
Expected Output
Yes
Your Output
No
Difference
Generator Parameters
--n_high 9 --n_low 9 --q_high 1 --q_low 1