原题: 223. Little Kings time limit per test: 0.5 sec. memory limit per test: 65536 KB input: standard output: standard After solving nice problems about bishops and rooks, Petya decided that he wo
There is a checkered field of size N x N cells (1 Ј N Ј 3). Each cell designates the territory of a state (i.e. N2 states). Each state has an army. Let A [i, j] be the number of soldiers in the stat