Ticket 5674
Problem 1671 -b
Submission 154618473
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
5
15
1 2 3 4 5 7 8 10 11 12 13 14 15 16 17 
15
1 4 5 6 7 8 9 10 11 12 13 14 17 18 20 
4
11 15 19 20 
15
2 3 4 7 8 9 10 12 13 14 15 16 17 18 19 
3
5 6 8 
Expected Output
YES
NO
NO
NO
YES
Your Output
NO
NO
NO
NO
YES
Difference
Generator Parameters
--n_high 15 --n_low 1 --t_high 5 --t_low 1 --x_high 20 --x_low 1