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