Ticket 14137
Problem 1687 -c
Submission 161565249
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
2
6 9
6 8 9 8 1 4 
3 10 10 10 1 3 
3 5
5 6
2 3
1 6
2 4
2 6
1 3
1 6
3 6
4 4
10 2 10 3 
5 10 3 7 
1 3
2 4
3 4
1 3
Expected Output
NO
NO
Your Output
YES
NO
Difference
Generator Parameters
--m_high 10 --m_low 1 --n_high 10 --n_low 2 --t_high 2 --t_low 1 --val_high 10 --val_low 1