当前位置:首页 > IT技术 > 其他好文 > 正文
🌟 知识贝壳App

知识深海,精准拾贝

随时随地查阅各类知识,汉语文化、百科科普、历史人物、语言翻译、专业词典、医学健康、科技文献,海量资源,尽在掌握

知识贝壳APP下载二维码
扫码下载APP

codeforces 710C C. Magic Odd Square(构造)
2016-08-23 23:29:53

题目链接:C. 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.InputThe only line contains odd integer n (1 ≤ n ≤ 49).OutputPrint n lines with n integers. All the integers should be ......

本文摘自 :https://www.cnblogs.com/

开通会员,享受整站包年服务