Ticket 6150
Problem 1672 -d
Submission 155310817
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
4
5
2 4 4 2 4 
4 2 2 4 4 
2
1 1 
1 1 
7
7 5 1 3 1 5 2 
1 2 3 5 5 1 7 
2
2 2 
2 2 
Expected Output
YES
YES
NO
YES
Your Output
NO
YES
NO
YES
Difference
Generator Parameters
--n_high 9 --n_low 1 --t_high 10 --t_low 1