Ticket 1024
Problem 1649 -d
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
6
6 32
14 4 12 11 19 22 
6 52
14 43 36 1 51 1 
7 32
9 9 20 20 10 26 15 
3 91
10 70 31 
1 8
1 
9 21
13 13 6 4 7 8 4 1 14 
Expected Output
No
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