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