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