Ticket 6975
Problem 1678 -d
Submission 156860421
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
2 3
111000
3 5
000000000100000
Expected Output
2 3 4 5 5 4
0 0 0 0 0 0 0 0 0 2 2 2 2 2 2
Your Output
2 3 4 5 5 4 
0 0 0 0 0 0 0 0 0 1 1 1 1 1 1 
Difference
Generator Parameters
--row_or_col_high 5 --row_or_col_low 1 --t_high 2 --t_low 1