Ticket 11694
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
5
4
-330 993 67 423 
6
231 -933 107 -629 598 126 
7
-382 717 -512 908 869 -737 450 
5
-653 193 -808 -82 461 
6
-513 458 752 848 -948 329 
Expected Output
NO
NO
NO
YES
NO
Generator Parameters
--n_high 7 --n_low 4 --t_high 20 --t_low 5 --val_high 1000 --val_low -1000