0_0_38602332_3414.cpp:5:8: error: 'struct std' redeclared as different kind of symbol
struct std
^~~
<built-in>: note: previous declaration 'namespace std { }'
0_0_38602332_3414.cpp: In function 'int main()':
0_0_38602332_3414.cpp:29:23: error: request for member 'str' in 'a[i]', which is of non-class type 'int'
gets(a[i].str);
^~~
0_0_38602332_3414.cpp:34:32: error: request for member 'str' in 'a[i]', which is of non-class type 'int'
if(strlen(a[i].str)<strlen(a[j].str))
^~~
0_0_38602332_3414.cpp:34:49: error: request for member 'str' in 'a[j]', which is of non-class type 'int'
if(strlen(a[i].str)<strlen(a[j].str))
^~~
0_0_38602332_3414.cpp:38:35: error: request for member 'str' in 'a[0]', which is of non-class type 'int'
for(i=0;i<strlen(a[0].str);i++)
^~~
0_0_38602332_3414.cpp:39:37: error: request for member 'str' in 'a[0]', which is of non-class type 'int'
for(j=i;j<strlen(a[0].str);j++)
^~~
0_0_38602332_3414.cpp:41:35: error: request for member 'str' in 'a[0]', which is of non-class type 'int'
zichuan(p,a[0].str,i,j);
^~~
0_0_38602332_3414.cpp:44:44: error: request for member 'str' in 'a[k]', which is of non-class type 'int'
q=strrev(strdup(a[k].str));
^~~
0_0_38602332_3414.cpp:45:57: error: request for member 'str' in 'a[k]', which is of non-class type 'int'
if(strstr(q,p)!=NULL||strstr(a[k].str,p)!=NULL)
^~~
|