0_0_31414397_15177.cpp: In function 'int main()':
0_0_31414397_15177.cpp:6:13: error: conflicting declaration 'int a'
int a,b,c,d;
^
0_0_31414397_15177.cpp:5:14: note: previous declaration as 'char a [1000][1000]'
char a[1000][1000];
^
0_0_31414397_15177.cpp:7:27: error: 'n' was not declared in this scope
while(scanf("%d",&n)!=EOF&&n)
^
0_0_31414397_15177.cpp:9:18: error: incompatible types in assignment of 'int' to 'char [1000][1000]'
for(a=0;a<d;a++)
^
0_0_31414397_15177.cpp:9:23: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
for(a=0;a<d;a++)
^
0_0_31414397_15177.cpp:9:26: error: lvalue required as increment operand
for(a=0;a<d;a++)
^
0_0_31414397_15177.cpp:10:27: error: invalid types 'char [1000][1000][char [1000][1000]]' for array subscript
scanf("%s",a[a]);
^
0_0_31414397_15177.cpp:12:18: error: incompatible types in assignment of 'int' to 'char [1000][1000]'
for(a=0;a<n;a++)
^
0_0_31414397_15177.cpp:12:26: error: lvalue required as increment operand
for(a=0;a<n;a++)
^
0_0_31414397_15177.cpp:14:23: error: invalid conversion from 'char (*)[1000]' to 'int' [-fpermissive]
for(b=a+1;b<d;b++)
^
0_0_31414397_15177.cpp:16:33: error: invalid types 'char [1000][1000][char [1000][1000]]' for array subscript
if(strcmp(a[a],a[b])==0)
^
0_0_31414397_15177.cpp:23:25: error: invalid conversion from 'char (*)[1000]' to 'int' [-fpermissive]
d=a;
^
|