Ticket 6722
Problem 1668 -b
Submission 156234106
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
8
13 71
1 5 4 7 9 3 4 8 8 2 2 5 5 
12 97
5 8 4 5 3 7 7 2 5 8 8 5 
14 36
2 6 2 6 7 7 6 9 9 7 8 9 5 1 
4 29
2 5 8 1 
12 82
4 4 7 5 7 9 5 4 9 5 4 5 
12 54
7 7 3 3 3 1 2 3 9 9 7 2 
5 49
1 6 4 3 2 
15 23
2 5 5 8 5 9 1 9 9 1 1 1 5 5 1 
Expected Output
NO
YES
NO
YES
NO
NO
YES
NO
Your Output
NO
YES
NO
YES
YES
NO
YES
NO
Difference
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