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