Ticket 15501
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
8
12
11 6 9 3 1 2 11 4 12 1 6 12 
6 12 9 12 11 6 11 1 2 1 4 3 
15
1 6 13 2 3 10 12 10 10 6 10 2 9 13 15 
9 12 13 10 1 10 3 15 6 10 6 10 13 2 2 
2
1 2 
1 2 
9
3 2 4 6 4 9 2 3 2 
3 2 2 4 4 9 6 2 3 
8
1 8 3 1 7 8 1 2 
1 1 1 3 8 7 8 2 
1
1 
1 
15
14 1 4 2 1 14 8 12 5 8 7 3 8 10 1 
8 5 1 1 14 14 1 8 8 10 4 7 3 2 12 
8
8 5 6 1 8 5 8 4 
8 1 8 8 5 5 6 4 
Expected Output
NO
NO
YES
0
NO
NO
YES
0
NO
NO
Your Output
NO
NO
YES
0
NO
NO
YES
0
NO
NO
Difference
Generator Parameters
--n_high 16 --n_low 1 --t_high 10 --t_low 1