Ticket 1127
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
4 77
13 9 25 1 
9 15
2 3 2 11 13 7 3 14 1 
4 77
40 58 6 77 
2 67
10 1 
2 84
25 22 
1 18
17 
9 89
79 80 9 76 2 60 54 70 1 
7 64
51 32 31 30 33 30 1 
9 63
12 48 63 47 18 22 37 63 1 
Expected Output
No
No
No
Yes
No
No
No
Yes
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