0_0_25861115_30808.cpp:6:5: error: 'll' does not name a type
ll m[3][3];
^
0_0_25861115_30808.cpp: In member function 'M M::mul(M)':
0_0_25861115_30808.cpp:13:13: error: 'll' was not declared in this scope
ll temp=0;
^
0_0_25861115_30808.cpp:15:17: error: 'temp' was not declared in this scope
temp=(temp+m[i][k]*o.m[k][j]%mod)%mod;
^
0_0_25861115_30808.cpp:15:28: error: 'm' was not declared in this scope
temp=(temp+m[i][k]*o.m[k][j]%mod)%mod;
^
0_0_25861115_30808.cpp:15:38: error: 'struct M' has no member named 'm'
temp=(temp+m[i][k]*o.m[k][j]%mod)%mod;
^
0_0_25861115_30808.cpp:15:46: error: 'mod' was not declared in this scope
temp=(temp+m[i][k]*o.m[k][j]%mod)%mod;
^
0_0_25861115_30808.cpp:16:15: error: 'struct M' has no member named 'm'
t.m[i][j]=temp;
^
0_0_25861115_30808.cpp:16:23: error: 'temp' was not declared in this scope
t.m[i][j]=temp;
^
0_0_25861115_30808.cpp: In member function 'void M::zero()':
0_0_25861115_30808.cpp:24:9: error: 'm' was not declared in this scope
m[i][j]=0;
^
0_0_25861115_30808.cpp: In member function 'void M::unit()':
0_0_25861115_30808.cpp:29:29: error: 'm' was not declared in this scope
for(int i=0;i<3;i++)m[i][i]=1;
^
0_0_25861115_30808.cpp: In function 'int main()':
0_0_25861115_30808.cpp:36:5: error: 'cin' was not declared in this scope
cin>>t;
^
0_0_25861115_30808.cpp:39:47: error: 'scanf' was not declared in this scope
scanf("%d%d%d%d%d%d",&A,&B,&C,&D,&P,&n);
^
0_0_25861115_30808.cpp:40:12: error: 'mod' was not declared in this scope
A%=mod;
^
0_0_25861115_30808.cpp:42:17: error: 'cout' was not declared in this scope
if(n==1)cout<<A<<endl;
^
0_0_25861115_30808.cpp:42:26: error: 'endl' was not declared in this scope
if(n==1)cout<<A<<endl;
^
0_0_25861115_30808.cpp:43:22: error: 'cout' was not declared in this scope
else if(n==2)cout<<B<<endl;
^
0_0_25861115_30808.cpp:43:31: error: 'endl' was not declared in this scope
else if(n==2)cout<<B<<endl;
^
0_0_25861115_30808.cpp:46:13: error: 'll' was not declared in this scope
ll ans=0;
^
0_0_25861115_30808.cpp:54:19: error: 'struct M' has no member named 'm'
O.m[0][0]=D;O.m[0][1]=C;O.m[0][2]=1;
^
0_0_25861115_30808.cpp:54:31: error: 'struct M' has no member named 'm'
O.m[0][0]=D;O.m[0][1]=C;O.m[0][2]=1;
^
0_0_25861115_30808.cpp:54:43: error: 'struct M' has no member named 'm'
O.m[0][0]=D;O.m[0][1]=C;O.m[0][2]=1;
^
0_0_25861115_30808.cpp:55:19: error: 'struct M' has no member named 'm'
O.m[1][0]=1;
^
0_0_25861115_30808.cpp:56:19: error: 'struct M' has no member named 'm'
O.m[2][2]=1;
^
0_0_25861115_30808.cpp:71:20: error: expected ';' before 'f2'
ll f2=E.m[0][0]*B%mod;
^
0_0_25861115_30808.cpp:72:17: error: 'f2' was not declared in this scope
f2=(f2+E.m[0][1]*A%mod)%mod;
^
0_0_25861115_30808.cpp:72:26: error: 'struct M' has no member named 'm'
f2=(f2+E.m[0][1]*A%mod)%mod;
^
0_0_25861115_30808.cpp:73:26: error: 'struct M' has no member named 'm'
f2=(f2+E.m[0][2]*(P/i))%mod;
^
0_0_25861115_30808.cpp:76:21: error: 'ans' was not declared in this scope
ans=f2;
^
0_0_25861115_30808.cpp:79:20: error: expected ';' before 'f1'
ll f1=0;
^
0_0_25861115_30808.cpp:80:25: error: 'f1' was not declared in this scope
if(b==1)f1=B;
^
0_0_25861115_30808.cpp:83:21: error: 'f1' was not declared in this scope
f1=E.m[1][0]*B%mod;
^
0_0_25861115_30808.cpp:83:26: error: 'struct M' has no member named 'm'
f1=E.m[1][0]*B%mod;
^
0_0_25861115_30808.cpp:84:30: error: 'struct M' has no member named 'm'
f1=(f1+E.m[1][1]*A%mod)%mod;
^
0_0_25861115_30808.cpp:85:30: error: 'struct M' has no member named 'm'
f1=(f1+E.m[1][2]*(P/i))%mod;
^
0_0_25861115_30808.cpp:88:24: error: 'f1' was not declared in this scope
A=(int)f1;
^
0_0_25861115_30808.cpp:91:36: error: 'ans' was not declared in this scope
if(sign)printf("lld\n",ans);
^
0_0_25861115_30808.cpp:91:39: error: 'printf' was not declared in this scope
if(sign)printf("lld\n",ans);
^
0_0_25861115_30808.cpp:98:19: error: 'struct M' has no member named 'm'
O.m[0][0]=D;O.m[0][1]=C;
^
0_0_25861115_30808.cpp:98:31: error: 'struct M' has no member named 'm'
O.m[0][0]=D;O.m[0][1]=C;
^
0_0_25861115_30808.cpp:99:19: error: 'struct M' has no member named 'm'
O.m[1][0]=1;
^
0_0_25861115_30808.cpp:100:32: error: 'max' was not declared in this scope
int b=n-max(P,2);
^
0_0_25861115_30808.cpp:107:17: error: 'ans' was not declared in this scope
ans=E.m[0][0]*B%mod;
^
0_0_25861115_30808.cpp:107:23: error: 'struct M' has no member named 'm'
ans=E.m[0][0]*B%mod;
^
0_0_25861115_30808.cpp:108:28: error: 'struct M' has no member named 'm'
ans=(ans+E.m[0][1]*A%mod)%mod;
^
0_0_25861115_30808.cpp:109:36: error: 'printf' was not declared in this scope
printf("%lld\n",ans);
^
|