Ticket 10912
Problem 1686 -c
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
3
3
0 0 2 
7
2 3 0 3 0 1 3 
7
2 3 2 2 0 2 1 
Expected Output
NO
NO
NO
Generator Parameters
--n_high 9 --n_low 3 --t_high 5 --t_low 1 --val_high 3 --val_low 0