0_0_21491721_10806.cpp: In function 'int main()':
0_0_21491721_10806.cpp:20:25: error: 'a' was not declared in this scope
scanf("%d",&a[i]);
^
0_0_21491721_10806.cpp:22:25: error: 'b' was not declared in this scope
scanf("%d",&b[i]);
^
0_0_21491721_10806.cpp:29:21: error: 'a' was not declared in this scope
if (a[i]==b[i])
^
0_0_21491721_10806.cpp:29:27: error: 'b' was not declared in this scope
if (a[i]==b[i])
^
0_0_21491721_10806.cpp:33:21: error: 'sun' was not declared in this scope
sun=(sum+ans1+ans2)%p;
^
0_0_21491721_10806.cpp:36:33: error: invalid types 'long long int[int]' for array subscript
ans1+=s[0][j]%=p;
^
0_0_21491721_10806.cpp:37:35: error: invalid types 'long long int[int]' for array subscript
else ans2+=s[0][j]%=p;
^
0_0_21491721_10806.cpp:41:21: error: 'a' was not declared in this scope
if (a[i]==b[j])
^
0_0_21491721_10806.cpp:41:27: error: 'b' was not declared in this scope
if (a[i]==b[j])
^
0_0_21491721_10806.cpp:43:27: error: invalid types 'long long int[int]' for array subscript
s[0][j]+=dp[j][0]%=p;
^
0_0_21491721_10806.cpp:44:27: error: invalid types 'long long int[int]' for array subscript
s[1][j]+=dp[j][1]%=p;
^
|