题面:http://acm.hdu.edu.cn/showproblem.php?pid=4965
题解:https://www.zybuluo.com/wsndy-xx/note/1153981
[Hdoj] Fast Matrix Calculation
原文:https://www.cnblogs.com/shandongs1/p/9063619.html