Ticket 5558
Problem 1646 -b
Submission 153313402
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
7
6 0 5 5 7 8 7 
3
0 0 0 
Expected Output
YES
NO
Your Output
YES
YES
Difference
Generator Parameters
t_high*n_high <= 2*10^5