const int tn=2;struct Matrix{ ll m[111][111]; Matrix() { memset(m,0,sizeof(m)); } friend Matrix operator*(Matrix a,Matrix b) { Matrix res; double x; for(int i=0; i>=1,a=a*a) if(i&1)ans=ans*a; return ans; }} T,F;
本文共 348 字,大约阅读时间需要 1 分钟。
const int tn=2;struct Matrix{ ll m[111][111]; Matrix() { memset(m,0,sizeof(m)); } friend Matrix operator*(Matrix a,Matrix b) { Matrix res; double x; for(int i=0; i>=1,a=a*a) if(i&1)ans=ans*a; return ans; }} T,F;
转载于:https://www.cnblogs.com/zsyacm666666/p/6698520.html