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