Ticket 11695
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
11
6
285 63 28 271 -938 -436 
7
330 -305 -512 180 1 910 859 
4
911 -94 729 303 
7
-297 -244 -726 -577 895 100 346 
7
410 -148 873 919 -339 575 268 
7
575 866 789 -953 514 803 52 
5
-551 -65 -54 -214 -815 
4
-395 465 -280 303 
6
956 202 -990 207 599 -320 
5
-178 423 271 -694 -834 
6
987 979 -750 771 -939 68 
Expected Output
NO
NO
NO
NO
NO
NO
YES
NO
NO
NO
NO
Generator Parameters
--n_high 7 --n_low 4 --t_high 20 --t_low 5 --val_high 1000 --val_low -1000