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