Ticket 7766
Problem 1686 -c
Submission 158505426
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
10
2 1 0 2 0 1 2 3 3 0 
8
3 0 0 0 1 2 1 2 
3
0 0 3 
14
3 1 3 0 2 1 0 1 0 1 0 2 1 1 
Expected Output
YES
0 2 0 2 0 2 1 3 1 3
YES
0 1 0 2 0 2 1 3
NO
YES
0 1 0 1 0 1 0 2 1 2 1 3 1 3
Your Output
YES
0 3 0 3 0 2 1 2 1 2 
NO
NO
NO
Difference
Generator Parameters
--n_high 14 --n_low 3 --t_high 6 --t_low 1 --val_high 3 --val_low 0