Ticket 15057
Problem 1698 -f
Submission 162377623
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
4
1
1 
1 
29
21 16 8 14 6 13 21 12 19 8 27 6 12 2 25 10 1 1 25 1 15 3 26 16 27 18 15 24 27 
1 8 15 26 6 1 6 27 10 27 18 21 8 25 12 21 24 14 12 25 1 16 15 27 16 2 13 19 3 
38
38 7 33 30 26 27 16 28 15 31 38 32 30 16 1 33 5 24 20 3 24 26 36 23 24 36 17 24 38 29 17 37 36 12 38 36 21 6 
21 24 16 20 31 38 36 1 26 38 5 38 37 26 12 24 33 33 27 32 30 17 24 7 17 36 36 24 38 36 29 3 15 30 28 16 23 6 
1
1 
1 
Expected Output
YES
0
NO
NO
YES
0
Your Output
YES
0
NO
NO
YES
0
Difference
Generator Parameters
--n_high 50 --n_low 1 --t_high 10 --t_low 1