0_0_13786053_8930.c: In function 'main':
0_0_13786053_8930.c:8:5: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
for(int i=0;i<20;i++)
^
0_0_13786053_8930.c:8:5: note: use option -std=c99, -std=gnu99, -std=c11 or -std=gnu11 to compile your code
0_0_13786053_8930.c:9:9: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
for(int j=0;j<60;j++)
^
0_0_13786053_8930.c:12:13: error: redefinition of 'i'
for(int i=1;i<20;i++)
^
0_0_13786053_8930.c:8:13: note: previous definition of 'i' was here
for(int i=0;i<20;i++)
^
0_0_13786053_8930.c:12:5: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
for(int i=1;i<20;i++)
^
0_0_13786053_8930.c:15:9: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
for(int j=0;j<60;j++)
^
0_0_13786053_8930.c:28:9: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
for(int i=2;i<len;i++)
^
0_0_13786053_8930.c:30:13: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
for(int j=0;j<60;j++)
^
0_0_13786053_8930.c:35:9: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
for(int j=0;j<60;j++)
^
0_0_13786053_8930.c:38:13: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
for(int i=1;i<len-1;i++)
^
0_0_13786053_8930.c:44:9: error: unknown type name 'bool'
bool flag = true;
^
0_0_13786053_8930.c:44:21: error: 'true' undeclared (first use in this function)
bool flag = true;
^
0_0_13786053_8930.c:44:21: note: each undeclared identifier is reported only once for each function it appears in
0_0_13786053_8930.c:45:17: error: redefinition of 'j'
for(int j=59;j>=0;j--)
^
0_0_13786053_8930.c:35:17: note: previous definition of 'j' was here
for(int j=0;j<60;j++)
^
0_0_13786053_8930.c:45:9: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
for(int j=59;j>=0;j--)
^
0_0_13786053_8930.c:53:24: error: 'false' undeclared (first use in this function)
flag = false;
^
0_0_13786053_8930.c:57:17: error: redefinition of 'j'
for(int j=1;j<60;j++)
^
0_0_13786053_8930.c:45:17: note: previous definition of 'j' was here
for(int j=59;j>=0;j--)
^
0_0_13786053_8930.c:57:9: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
for(int j=1;j<60;j++)
^
|