Time limit
2000 ms
Memory limit
262144 kB
Source
CODE FESTIVAL 2017 qual A
Descriptions:

Palindromic Matrix

AtCoder - 3556