Ticket 17111
Problem 1884 -b
Submission 229187982
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
2
4
0001
2
01
Expected Output
1 2 3 -1
1 -1
Your Output
1 2 3 -1 
2 -1 
Difference
Generator Parameters
--n_high 4 --n_low 1 --t_high 2 --t_low 1