摘要: 如果我们需要在某个整数区间打一个幂表的话,有一个方法比较好用,比如我们要在1~5000之间,打满 1^1, 1^2, 1^3............... 1^5000 2^1, 2^2, 2^3............... 2^5000 3^1, 3^2. 3^3............... ... 阅读全文
posted @ 2014-10-12 15:22 jusonalien 阅读(203) 评论(0) 推荐(0)
摘要: 题目链接 请猛戳~DescriptionGiven a n × n matrix A and a positive integer k, find the sum S = A + A2 + A3 + … + Ak.InputThe input contains exactly one test ca... 阅读全文
posted @ 2014-10-12 15:16 jusonalien 阅读(248) 评论(0) 推荐(0)