摘要:
题目地址:http://www.51cpc.com/web/problem.php?id=4267 Knowledge Point:https://www.cnblogs.com/liubilan/p/9450568.html Summarize: 1. 矩阵乘法 a*b 与 b*a 不同,注意顺序 阅读全文
posted @ 2018-08-09 18:06
liubilan
阅读(285)
评论(0)
推荐(0)
摘要:
参考博客,非常感谢大佬的讲解:https://www.cnblogs.com/cmmdc/p/6936196.html 整数快速幂: 假设现在需要计算x^8,常规循环做法需要计算7次,但如果转换成 (x^2)^4 则只需要4次即可; 稍微复杂一些,有 x^19次,19=(10011)₂,因为有 x^ 阅读全文
posted @ 2018-08-09 17:49
liubilan
阅读(213)
评论(0)
推荐(0)

浙公网安备 33010602011771号