Magic Odd Square

2020 VietMX 0

Find an n × n matrix with different numbers from 1 to n 2, so the sum in each row, column and both main diagonals are odd. Input The only line contains odd […]