Ticket 8275
Problem 1686 -a
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
7
8
3 7 7 1 8 7 3 9 
9
8 6 8 0 8 5 1 2 4 
7
1 4 9 2 4 3 0 
8
5 6 2 9 6 6 8 5 
9
1 7 1 0 0 6 8 2 5 
4
2 2 8 5 
4
6 0 7 5 
Expected Output
NO
NO
NO
NO
NO
NO
NO
Generator Parameters
--n_high 9 --n_low 3 --t_high 25 --t_low 1 --val_high 9 --val_low 0