0_0_30179126_29031.cpp: In function 'int main()':
0_0_30179126_29031.cpp:23:9: error: redeclaration of 'int i2'
int i2,beg,ans;
^
0_0_30179126_29031.cpp:22:15: note: 'int i2' previously declared here
int i,j,k,i2,q;
^
0_0_30179126_29031.cpp:39:37: error: invalid operands of types 'int' and 'll [500005] {aka long long int [500005]}' to binary 'operator*'
ans=(ans+(s[i]-'0')*val)%mod; continue;
^
0_0_30179126_29031.cpp:42:32: error: 't' was not declared in this scope
dp[i][j][k]=0; t=((j-k*val[i])%m+m)%m;
^
0_0_30179126_29031.cpp:47:5: error: expected primary-expression before '}' token
}
^
|