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