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