Ticket 15500
Problem 1698 -f
Submission 162872827
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
5
1
1 
1 
7
4 7 3 7 1 2 7 
2 7 7 4 1 3 7 
14
1 12 5 3 7 3 2 7 7 3 7 12 1 13 
3 3 7 7 13 5 12 7 12 2 3 1 7 1 
16
1 12 2 10 11 2 12 10 5 11 11 2 8 3 3 4 
10 11 8 5 11 12 3 1 2 4 12 2 11 2 10 3 
14
5 11 2 5 13 13 6 11 13 12 8 14 12 4 
11 14 5 2 5 6 11 12 13 12 13 4 8 13 
Expected Output
YES
0
NO
NO
NO
NO
Your Output
YES
0
NO
NO
NO
NO
Difference
Generator Parameters
--n_high 16 --n_low 1 --t_high 5 --t_low 1