摘要:
Given a n × n matrix A and a positive integer k, find the sum S = A + A2 + A3 + … + Ak. Given a n × n matrix A and a positive integer k, find the sum 阅读全文
posted @ 2019-05-16 21:06
断腿三郎
阅读(355)
评论(0)
推荐(0)
摘要:
A number sequence is defined as follows: f(1) = 1, f(2) = 1, f(n) = (A * f(n - 1) + B * f(n - 2)) mod 7. Given A, B, and n, you are to calculate the v 阅读全文
posted @ 2019-05-16 17:02
断腿三郎
阅读(165)
评论(0)
推荐(0)

浙公网安备 33010602011771号