## Coloring codeforces solution- A matrix of size n×mn×m, such that each cell of it contains either 00 or 11, is considered beautiful if the sum in every contiguous submatrix of size 2×22×2 is exactly 22, i. e. every “square” of size 2×22×2 contains exactly two 11’s and exactly two 00’s.

Coloring solution codeforces For Solution Click Here! A matrix of size n×mn×m, such that each cell of it contains either 00 or 11, is considered beautiful if the sum in every contiguous submatrix of size 2×22×2 is exactly 22, i. e. every “square” of size 2×22×2 contains exactly two 11‘s and exactly two 00‘s. Continue reading Coloring codeforces solution- A matrix of size n×mn×m, such that each cell of it contains either 00 or 11, is considered beautiful if the sum in every contiguous submatrix of size 2×22×2 is exactly 22, i. e. every “square” of size 2×22×2 contains exactly two 11’s and exactly two 00’s.