Editorial for COCI '20 Contest 6 #1 Bold
Remember to use this editorial only when stuck, and not to copy-paste code from it. Please be respectful to the problem author and editorialist.
Submitting an official solution before solving the problem yourself is a bannable offence.
Submitting an official solution before solving the problem yourself is a bannable offence.
We make a new matrix and fill it with .
. Then we go through the original matrix, and when we find #
on some position , we put #
on positions , , and in the new matrix.
Comments