0_0_26595762_24826.c: In function 'main':
0_0_26595762_24826.c:7:10: error: redeclaration of 'j' with no linkage
for(int j=1;j<=T;j++)
^
0_0_26595762_24826.c:5:16: note: previous declaration of 'j' was here
int T,m=0,max,j;
^
0_0_26595762_24826.c:7:2: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
for(int j=1;j<=T;j++)
^
0_0_26595762_24826.c:7:2: note: use option -std=c99, -std=gnu99, -std=c11 or -std=gnu11 to compile your code
0_0_26595762_24826.c:20:26: error: lvalue required as left operand of assignment
len1>=len2?max=len1:max=len2;
^
0_0_26595762_24826.c:23:4: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
for(int i=0;i<len2;i++)
^
0_0_26595762_24826.c:25:12: error: redefinition of 'i'
for(int i=0;i<max-len2;i++)
^
0_0_26595762_24826.c:23:12: note: previous definition of 'i' was here
for(int i=0;i<len2;i++)
^
0_0_26595762_24826.c:25:4: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
for(int i=0;i<max-len2;i++)
^
0_0_26595762_24826.c:27:12: error: redefinition of 'i'
for(int i=0;i<max;i++)
^
0_0_26595762_24826.c:25:12: note: previous definition of 'i' was here
for(int i=0;i<max-len2;i++)
^
0_0_26595762_24826.c:27:4: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
for(int i=0;i<max;i++)
^
0_0_26595762_24826.c:32:4: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
for(int i=0;i<len1;i++)
^
0_0_26595762_24826.c:34:12: error: redefinition of 'i'
for(int i=0;i<max-len1;i++)
^
0_0_26595762_24826.c:32:12: note: previous definition of 'i' was here
for(int i=0;i<len1;i++)
^
0_0_26595762_24826.c:34:4: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
for(int i=0;i<max-len1;i++)
^
0_0_26595762_24826.c:36:12: error: redefinition of 'i'
for(int i=0;i<max;i++)
^
0_0_26595762_24826.c:34:12: note: previous definition of 'i' was here
for(int i=0;i<max-len1;i++)
^
0_0_26595762_24826.c:36:4: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
for(int i=0;i<max;i++)
^
0_0_26595762_24826.c:40:3: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
for(int i=max-2;i>=0;i--)
^
0_0_26595762_24826.c:48:4: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
for(int i=max-1;i>=0;i--)
^
0_0_26595762_24826.c:54:12: error: redefinition of 'i'
for(int i=0;i<max+1;i++)
^
0_0_26595762_24826.c:48:12: note: previous definition of 'i' was here
for(int i=max-1;i>=0;i--)
^
0_0_26595762_24826.c:54:4: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
for(int i=0;i<max+1;i++)
^
0_0_26595762_24826.c:61:4: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
for(int i=0;i<max;i++)
^
|