Ticket 930
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
9 67
29 58 9 47 28 6 5 58 1 
6 49
6 31 6 5 13 6 
6 50
24 33 20 42 49 26 
2 80
64 2 
2 33
16 1 
9 31
3 28 13 16 22 25 19 29 1 
5 12
5 4 8 6 8 
7 3
3 1 3 3 1 2 1 
7 94
85 91 19 52 35 30 26 
Expected Output
No
No
No
No
Yes
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