Ticket 8959
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
10
2
65 -23 
5
-11 -60 43 -96 47 
9
-48 -67 17 40 -23 -1 43 99 -90 
9
-59 -7 -12 95 -82 -59 18 52 -70 
3
-57 -62 25 
4
72 -78 88 -46 
8
-68 80 95 -73 22 9 -36 87 
5
43 5 71 -67 53 
2
8 -76 
4
32 -38 66 -41 
Expected Output
YES
YES
NO
NO
YES
YES
NO
NO
YES
YES
Generator Parameters
--n_high 9 --n_low 1 --t_high 10 --t_low 10 --val_high 100 --val_low -100