Ticket 16003
Problem 1713 -e
Submission 167313557
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
1
4
2 1 2 2 
1 1 1 1 
1 1 2 2 
2 2 1 2 
Expected Output
2 1 1 2
1 1 1 1
2 1 2 1
2 2 2 2
Your Output
2 1 1 2 
1 1 1 1 
2 1 2 2 
2 2 1 2 
Difference
2 1 1 22 1 1 2
1 1 1 11 1 1 1
2 1 2 12 1 2 2
2 2 2 22 2 1 2
Generator Parameters
--n_high 4 --n_low 4 --t_high 1 --t_low 1 --val_high 2 --val_low 1