/in/foo.cc: In function 'int main()':
/in/foo.cc:6:30: error: conflicting declaration 'int a [101]'
int a,b,n,c,d,i,j,l,a[101]={0},b[101]={0};
^
/in/foo.cc:6:9: note: previous declaration as 'int a'
int a,b,n,c,d,i,j,l,a[101]={0},b[101]={0};
^
/in/foo.cc:6:41: error: conflicting declaration 'int b [101]'
int a,b,n,c,d,i,j,l,a[101]={0},b[101]={0};
^
/in/foo.cc:6:11: note: previous declaration as 'int b'
int a,b,n,c,d,i,j,l,a[101]={0},b[101]={0};
^
/in/foo.cc:9:7: error: 'x' was not declared in this scope
n=x%y;
^
/in/foo.cc:9:9: error: 'y' was not declared in this scope
n=x%y;
^
/in/foo.cc:21:16: error: invalid types 'int[int]' for array subscript
a[l]=n/y;
^
/in/foo.cc:23:16: error: invalid types 'int[int]' for array subscript
b[l]=n;
^
/in/foo.cc:25:23: error: invalid types 'int[int]' for array subscript
if(a[l]==a[i]&&b[l]==b[i])
^
/in/foo.cc:25:29: error: invalid types 'int[int]' for array subscript
if(a[l]==a[i]&&b[l]==b[i])
^
/in/foo.cc:25:35: error: invalid types 'int[int]' for array subscript
if(a[l]==a[i]&&b[l]==b[i])
^
/in/foo.cc:25:41: error: invalid types 'int[int]' for array subscript
if(a[l]==a[i]&&b[l]==b[i])
^
/in/foo.cc:36:52: error: invalid types 'int[int]' for array subscript
if(d==i&&c==1) {cout<<"(";cout<<a[i];}
^
/in/foo.cc:37:31: error: invalid types 'int[int]' for array subscript
else cout<<a[i];
^