Ticket 12295
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
2
3
5 -3 8 
4
0 -1 -1 -3 
Expected Output
NO
YES
Generator Parameters
n_high