Ticket 1096
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
5
3 25
16 5 1 
9 52
52 40 43 17 4 37 4 3 1 
9 30
3 5 11 22 8 24 1 30 10 
8 59
47 8 39 50 47 34 37 1 
6 51
42 28 14 28 32 25 
Expected Output
No
No
No
No
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