Ticket 14201
Problem 1679 -c
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 14
3 2 1 9 5
3 1 6 5 7
3 3 4 4 4
3 5 1 7 6
3 4 7 8 8
3 2 4 4 5
3 6 5 8 8
3 6 1 9 9
3 1 1 7 6
1 9 6
3 4 4 4 6
3 3 2 5 9
1 5 1
3 5 3 8 9
Expected Output
No
No
No
No
No
No
No
No
No
No
No
No
Generator Parameters
--n_high 9 --n_low 1 --q_high 15 --q_low 1