摘要: 时间限制:1000 ms | 内存限制:65535 KB难度:4描述Given an×nmatrixAand a positive integerk, find the sumS=A+A2+A3+ … +Ak.输入The input contains exactly one test case. The first line of input contains three positive integers n (n ≤ 30), k (k ≤ 10^9) and m (m < 10^4). Then follow n lines each containing n nonne 阅读全文
posted @ 2012-03-01 15:25 qijinbiao1 阅读(229) 评论(0) 推荐(0) 编辑