Ticket 8130
Problem 1668 -b
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
5
3 59
7 8 3 
11 35
8 5 3 6 3 5 2 8 6 6 5 
9 28
1 3 8 9 1 8 7 7 2 
7 68
6 5 7 2 7 6 8 
10 54
5 4 6 9 5 6 5 1 7 8 
Expected Output
YES
NO
NO
YES
NO
Generator Parameters
--m_high 99 --m_low 1 --n_high 15 --n_low 2 --t_high 10 --t_low 1 --val_high 9 --val_low 1