Ticket 4565
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
4
7 83
64 82 12 49 7 18 1 
9 35
24 19 9 26 24 12 26 31 14 
6 31
8 7 28 25 4 1 
3 48
19 39 1 
Expected Output
No
No
No
No
Generator Parameters
--c_high 99 --c_low 1 --n_high 9 --n_low 1 --t_high 9 --t_low 1