Ticket 7218
Problem 1679 -c
Submission 157316178
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
7 15
1 5 7
1 1 7
2 1 7
2 5 7
1 3 6
3 3 1 3 5
1 3 1
1 7 3
3 7 3 7 7
1 5 7
3 1 5 4 7
2 7 3
2 5 7
3 7 3 7 4
3 5 2 6 4
Expected Output
Yes
Yes
No
No
No
Your Output
Yes
Yes
Yes
No
No
Difference
Generator Parameters
--n_high 9 --n_low 1 --q_high 15 --q_low 1