Ticket 1437
Problem 1649 -d
Submission 148955613
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
5 54
12 18 27 17 1 
6 16
2 13 11 3 1 5 
6 56
35 46 23 10 44 1 
5 19
2 13 9 15 6 
8 50
2 8 19 3 8 33 5 22 
2 62
22 1 
1 24
1 
Expected Output
No
No
No
No
No
Yes
Yes
Your Output
No
Yes
No
No
No
Yes
Yes
Difference
Generator Parameters
--c_cap 1000000 --c_high 99 --c_low 1 --n_cap 1000000 --n_high 9 --n_low 1 --t_cap 10000 --t_high 9 --t_low 1