Ticket 10342
Problem 1672 -d
Submission 159437541
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
10
6
4 1 1 2 5 6 
5 4 1 1 6 2 
8
2 6 6 6 8 4 3 2 
6 2 8 2 3 6 4 6 
2
1 1 
1 1 
8
8 7 4 4 2 3 5 1 
7 5 1 2 4 4 3 8 
5
5 3 4 3 5 
5 4 3 5 3 
5
3 4 2 1 1 
1 3 2 1 4 
7
7 4 7 3 2 5 4 
3 7 4 7 2 5 4 
6
4 3 5 4 4 4 
4 4 4 3 5 4 
2
1 2 
2 1 
6
5 3 3 4 3 6 
3 3 4 6 5 3 
Expected Output
NO
NO
YES
NO
NO
NO
NO
NO
NO
NO
Your Output

          
Difference
Generator Parameters
--n_high 9 --n_low 1 --t_high 10 --t_low 1