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