Ticket 6743
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
2
13 56
6 4 4 5 9 5 9 6 4 4 2 2 2 
14 21
4 5 1 7 3 7 6 5 2 2 9 6 8 1 
Expected Output
NO
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