Ticket 3454
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
9
5 64
26 63 23 8 1 
9 33
32 22 2 7 33 29 24 16 1 
9 10
10 4 8 2 4 4 1 2 1 
7 10
1 1 10 9 7 8 1 
2 49
39 1 
6 74
28 58 55 45 6 3 
2 58
52 1 
7 5
1 5 3 5 5 1 1 
1 7
5 
Expected Output
No
No
No
Yes
Yes
No
Yes
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