HDU4686 Arc of Dream 矩阵快速幂
摘要:题意:已知:
a0 = A0 b0 = B0
ai = ai-1*AX+AY
bi = bi-1*BX+BY
Sn = a0b0+a1*b1+...+a(n-1)*b(n-1);
求 Sn
阅读全文
posted @ 2016-11-28 22:54
posted @ 2016-11-28 22:54
posted @ 2016-11-28 21:01
posted @ 2016-11-28 20:52
posted @ 2016-11-17 17:09