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