【codeforces 710 C Magic Odd Square】
Magic Odd SquareFind an n × n matrix with different numbers from 1 to n2, so the sum in each row, column and both main diagonals are odd.Input
The only line contains odd integer n (1 ≤ n ≤ 49).Output
原创
2016-09-03 14:09:06 ·
483 阅读 ·
0 评论