2016年11月21日

矩阵快速幂

摘要: 1 #include 2 using namespace std; 3 4 const int mod = 10003; 5 const int num = 2; 6 7 struct mat { 8 long long m[num][num]; 9 }; 10 11 12 13 mat mul(mat a, mat b) { 14 mat ans... 阅读全文

posted @ 2016-11-21 20:05 mkfoy 阅读(205) 评论(0) 推荐(0)

导航