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