Ticket 11693
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
8
6
726 173 368 -853 75 -923 
7
461 261 -975 -717 476 -848 281 
6
-570 714 -18 603 -776 20 
7
962 301 -689 -445 608 -58 -63 
7
963 -299 -51 -446 -410 -278 -994 
6
-11 760 -397 691 -611 -74 
7
487 -982 -99 -86 -744 -380 807 
5
294 -526 280 644 464 
Expected Output
NO
NO
NO
NO
YES
NO
YES
NO
Generator Parameters
--n_high 7 --n_low 4 --t_high 20 --t_low 5 --val_high 1000 --val_low -1000