上一页 1 ··· 6 7 8 9 10
#include#include#include#includeusing namespace std;const int mod=9973;int n;struct matrix{ int f[10][10];};matrix mul(matrix a,matrix b){ int i,j... Read More
posted @ 2015-12-12 18:33 xiaotian_小天 Views(141) Comments(0) Diggs(0) Edit
题目:http://acm.hdu.edu.cn/showproblem.php?pid=1005代码: 1 #include 2 #include 3 #include 4 #include 5 using namespace std; 6 const int mod=7; 7 struct ma... Read More
posted @ 2015-12-11 17:07 xiaotian_小天 Views(168) Comments(0) Diggs(0) Edit
参考:动态规划(8)-矩阵连乘 | Acm之家http://www.acmerblog.com/dp8-matrix-chain-multiplication-5086.html Read More
posted @ 2015-12-11 15:08 xiaotian_小天 Views(133) Comments(0) Diggs(0) Edit
上一页 1 ··· 6 7 8 9 10