Ticket 1095
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
7 76
73 73 24 1 41 50 1 
6 95
57 64 4 32 61 1 
2 71
56 42 
1 42
12 
3 32
1 9 1 
8 73
22 71 38 47 36 16 66 1 
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