Ticket 11006
Problem 1687 -c
Submission 159706911
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
16 11
8 5 7 10 4 1 7 6 6 8 2 10 9 3 10 2 
10 2 4 7 1 10 8 2 2 10 9 9 3 8 8 5 
7 14
8 12
2 12
12 14
5 7
8 9
5 9
12 13
10 16
1 8
10 12
12 10
10 10 5 1 8 9 8 2 9 3 4 5 
10 6 9 7 10 6 3 5 9 4 10 10 
7 12
9 10
1 5
5 12
3 9
1 2
1 8
6 12
5 10
1 3
Expected Output
YES
NO
Your Output
NO
NO
Difference
Generator Parameters
--m_high 20 --m_low 1 --n_high 30 --n_low 2 --t_high 2 --t_low 1 --val_high 10 --val_low 1