Ticket 1266
Problem 1648 -b
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
2 24
7 1 
7 76
64 7 58 35 51 1 1 
2 38
11 1 
2 78
73 75 
8 19
8 19 11 2 7 17 4 1 
6 34
24 21 26 21 33 2 
1 69
1 
9 33
9 2 17 19 13 31 31 23 1 
5 22
17 7 14 17 21 
Expected Output
Yes
No
Yes
No
No
No
Yes
No
No
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