/in/foo.cc: In function 'int main()':
/in/foo.cc:8:9: error: expected initializer before 'char'
8 | char a[26]={0},b[1000][10]={0};
| ^~~~
/in/foo.cc:8:23: error: expected primary-expression before ',' token
8 | char a[26]={0},b[1000][10]={0};
| ^
/in/foo.cc:8:24: error: 'b' was not declared in this scope
8 | char a[26]={0},b[1000][10]={0};
| ^
/in/foo.cc:9:13: error: redeclaration of 'int n'
9 | int n;
| ^
/in/foo.cc:6:13: note: 'int n' previously declared here
6 | int n,i,j,c[1000]={0},d[1000];
| ^
/in/foo.cc:10:14: error: 'a' was not declared in this scope
10 | cin>>a;
| ^
/in/foo.cc:16:14: error: 'fs' was not declared in this scope; did you mean 'ffs'?
16 | cin>>fs;
| ^~
| ffs
/in/foo.cc:33:32: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
33 | if(c[i]=d[j])
| ~~~~^~~~~
/in/foo.cc:35:37: error: 'k' was not declared in this scope
35 | for(k=0;k<strlen(b[i]);k++)
| ^
/in/foo.cc: At global scope:
/in/foo.cc:42:9: error: expected unqualified-id before 'return'
42 | return 0;
| ^~~~~~
/in/foo.cc:43:1: error: expected declaration before '}' token
43 | }
| ^