Ticket 6372
Problem 1674 -d
Submission 155701137
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
7
5 5 9 3 3 5 4 
7
3 1 4 2 3 9 9 
5
5 1 9 6 3 
5
1 2 3 1 3 
6
5 5 1 3 9 5 
9
8 8 3 7 1 4 7 1 3 
7
8 9 5 1 8 6 2 
5
7 8 4 1 5 
9
4 4 2 7 2 7 6 1 6 
7
9 5 2 4 1 3 9 
Expected Output
NO
NO
NO
NO
NO
NO
NO
NO
NO
NO
Your Output
NO
NO
NO
NO
YES
NO
NO
NO
NO
NO
Difference
Generator Parameters
--n_high 9 --n_low 5 --t_high 10 --t_low 10 --val_high 9 --val_low 1