Ticket 17160
Problem 1896 -d
Submission 234302167
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
1
3 8
1 1 2 
2 1 2
2 2 1
1 5
2 2 2
1 4
1 6
1 2
1 1
Expected Output
YES
YES
YES
YES
NO
Your Output
Yes
Yes
Yes
Yes
Yes
Difference
Generator Parameters
--n_high 9 --n_low 1 --q_high 9 --q_low 1 --t_high 2 --t_low 1