Ticket 7568
Problem 1672 -d
Submission 158474883
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 
8
2 1 6 1 5 1 5 5 
2 6 1 1 5 1 5 5 
9
5 1 9 2 1 6 1 7 3 
7 3 6 1 5 1 9 2 1 
8
3 5 8 7 2 7 7 4 
7 4 7 2 5 7 3 8 
4
1 4 4 3 
1 4 4 3 
Expected Output
YES
YES
NO
NO
YES
Your Output
YES
NO
NO
NO
YES
Difference
Generator Parameters
--n_high 9 --n_low 1 --t_high 10 --t_low 1