Ticket 5478
Problem 1668 -b
Submission 154125617
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
10
5 1
6 4 6 9 9 
6 6
8 1 9 1 3 4 
9 15
9 1 2 5 4 4 1 3 2 
9 1
2 8 2 6 6 7 4 7 8 
2 13
3 8 
6 12
5 9 8 7 8 8 
3 1
8 7 7 
2 14
1 1 
4 20
2 5 2 4 
9 4
1 1 2 6 7 8 2 4 5 
Expected Output
NO
NO
NO
NO
NO
NO
NO
YES
YES
NO
Your Output
NO
NO
NO
NO
NO
NO
NO
YES
NO
NO
Difference
Generator Parameters
--m_high 20 --m_low 1 --n_high 9 --n_low 2 --t_high 10 --t_low 10 --val_high 9 --val_low 1