Ticket 14998
Problem 1698 -c
Submission 162156403
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
3
3 7 -3 
7
-6 -2 -2 -8 -8 -7 -5 
5
-8 -8 -1 4 -9 
7
-4 3 0 -4 3 -8 0 
8
9 -8 6 7 7 -1 8 8 
4
-1 1 -1 1 
3
3 8 3 
5
0 0 0 4 0 
5
-2 -8 -8 0 -2 
9
3 6 8 0 0 -4 -6 -3 -7 
Expected Output
YES
NO
NO
NO
NO
YES
NO
YES
NO
NO
Your Output
YES
NO
NO
NO
NO
YES
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