Ticket 1099
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
2
5 10
9 8 8 9 1 
2 2
2 1 
Expected Output
Yes
Yes
Generator Parameters
--c_cap 10 --c_high 10 --c_low 1 --n_cap 10 --n_high 5 --n_low 2 --t_cap 10000 --t_high 9 --t_low 1