Ticket 6371
Problem 1674 -d
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
5
7 6 4 4 8 
8
9 7 5 1 8 3 8 5 
6
4 3 1 8 8 7 
9
7 4 2 6 4 6 1 7 1 
6
3 7 2 4 1 3 
8
7 1 1 2 4 3 1 5 
7
6 2 2 4 2 3 1 
6
7 9 9 2 4 5 
5
8 5 3 2 1 
8
6 4 3 7 3 6 7 4 
Expected Output
NO
NO
NO
NO
NO
NO
NO
NO
NO
NO
Generator Parameters
--n_high 9 --n_low 5 --t_high 10 --t_low 10 --val_high 9 --val_low 1