题目描述
We have a board with a 2N grid. Snuke covered the board with N dominoes without overlaps. Here, a domino can cover a 12 or 21 square. Then, Snuke decided to paint these dominoes using three colors: red, cyan and green. Two dominoes that are adjac…