[BZOJ 1647][USACO 2007 Open] Fliptile 翻格子游戏

1 · NekoMio · Aug. 3, 2017, 12:36 a.m.
DescriptionFarmer John knows that an intellectually satisfied cow is a happy cow who will give more milk. He has arranged a brainy activity for cows in which they manipulate an M x N grid (1 <= M <= 15; 1 <= N <= 15) of square tiles, each of which is colored black on one side and white on the other side. As one would guess, when a single white tile is flipped, it changes to black;...