Ticket 1277
Problem 1649 -d
Submission 148666293
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
5 10
1 8 10 2 1 
3 10
1 9 1 
3 10
2 9 1 
4 10
10 5 8 1 
Expected Output
No
Yes
No
No
Your Output
No
No
No
No
Difference
Generator Parameters
--c_cap 1000000 --c_high 10 --c_low 10 --n_cap 10 --n_high 5 --n_low 2 --t_cap 10 --t_high 9 --t_low 1