hdu 4686 Arc of Dream(矩阵快速幂)
摘要:
链接:http://acm.hdu.edu.cn/showproblem.php?pid=4686题意:其中a0 = A0ai = ai-1*AX+AYb0 = B0bi = bi-1*BX+BY最后的结果mod 1,000,000,007n 2 #include 3 //#define LL __... 阅读全文
posted @ 2013-08-21 23:51 jumpingfrog0 阅读(1721) 评论(0) 推荐(1) 编辑