Rosetta Problems

Squares, Pieces and Coloring

https://atcoder.jp/contests/code-festival-2015-qualb/tasks/codefestival_2015_qualB_d