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