Ticket 6862
Problem 1638 -b
Submission 156415172
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
8 8 6 8 5 2 5 
5
3 8 5 3 8 
Expected Output
NO
NO
Your Output
NO
YES
Difference
Generator Parameters
--n_high 7 --n_low 1 --t_high 3 --t_low 1 --val_high 9 --val_low 1