摘要:
1 #include 2 #include 3 using namespace std; 4 int n,f; 5 struct Matrix{ 6 long long v[105][105]; 7 }A,Ans; 8 Matrix operator *(Matrix A,Matrix B){ 9 Matrix C; 10 memset(C.v,0,si... 阅读全文
posted @ 2018-01-15 15:07
AL76
阅读(116)
评论(0)
推荐(0)
摘要:
#include #include #include #include using namespace std; int n; struct Matrix{ long long a,b,v[105][105]; }A,B; Matrix operator *(Matrix A,Matrix B){ Matrix C; for(int i=1;i<=n;i++){ ... 阅读全文
posted @ 2018-01-15 11:08
AL76
阅读(192)
评论(0)
推荐(1)
摘要:
1 #include 2 #include 3 #include 4 using namespace std; 5 int ans,n=1012,k; 6 int fastpower(int x,int y){//x^y%n 7 ans=1; 8 k=x%n; 9 while(y){ 10 if(y%2)//y是奇数 11 ... 阅读全文
posted @ 2018-01-15 09:14
AL76
阅读(122)
评论(0)
推荐(0)

浙公网安备 33010602011771号