摘要: Given a N × N matrix A, whose element in the i-th row and j-th column Aij is an number that equals i2 + 100000 × i + j2 - 100000 × j + i × j, you are 阅读全文
posted @ 2020-02-22 22:06 funforever 阅读(155) 评论(0) 推荐(0) 编辑
摘要: Santa has to send presents to the kids. He has a large stack of nn presents, numbered from 11 to nn; the topmost present has number a1a1, the next pre 阅读全文
posted @ 2020-02-22 21:40 funforever 阅读(243) 评论(0) 推荐(0) 编辑