摘要: " 题目链接 " Description Given a n × n matrix A and a positive integer k, find the sum S = A + A^2 + A^3 + … + A^k. Input The input contains exactly one t 阅读全文
posted @ 2017-07-29 17:19 渡…… 阅读(249) 评论(0) 推荐(0) 编辑
摘要: " 题目链接 " Description Panda has received an assignment of painting a line of blocks. Since Panda is such an intelligent boy, he starts to think of a ma 阅读全文
posted @ 2017-07-29 14:09 渡…… 阅读(283) 评论(0) 推荐(0) 编辑