0_0_13786056_12840.c:5:5: error: variably modified 'num' at file scope
int num[maxn+2];
^
0_0_13786056_12840.c: In function 'main':
0_0_13786056_12840.c:13:9: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
for(int i=len-1;i>=2;i--,cnt+=3)
^
0_0_13786056_12840.c:13:9: note: use option -std=c99, -std=gnu99, -std=c11 or -std=gnu11 to compile your code
0_0_13786056_12840.c:16:13: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
for(int j=0;j<=maxn;j++)
^
0_0_13786056_12840.c:18:21: error: redefinition of 'j'
for(int j=0;j<=maxn;j++)
^
0_0_13786056_12840.c:16:21: note: previous definition of 'j' was here
for(int j=0;j<=maxn;j++)
^
0_0_13786056_12840.c:18:13: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
for(int j=0;j<=maxn;j++)
^
0_0_13786056_12840.c:29:30: error: expected expression before '/' token
for(m=0;!num[m];m++);//去掉小数后的0,这个让我wa了好多次。
^
0_0_13786056_12840.c:29:30: error: stray '\310' in program
0_0_13786056_12840.c:29:30: error: stray '\245' in program
0_0_13786056_12840.c:29:30: error: stray '\265' in program
0_0_13786056_12840.c:29:30: error: stray '\364' in program
0_0_13786056_12840.c:29:30: error: stray '\320' in program
0_0_13786056_12840.c:29:30: error: stray '\241' in program
0_0_13786056_12840.c:29:30: error: stray '\312' in program
0_0_13786056_12840.c:29:30: error: stray '\375' in program
0_0_13786056_12840.c:29:30: error: stray '\272' in program
0_0_13786056_12840.c:29:30: error: stray '\363' in program
0_0_13786056_12840.c:29:30: error: stray '\265' in program
0_0_13786056_12840.c:29:30: error: stray '\304' in program
0_0_13786056_12840.c:29:30: error: stray '\243' in program
0_0_13786056_12840.c:29:30: error: stray '\254' in program
0_0_13786056_12840.c:29:30: error: stray '\325' in program
0_0_13786056_12840.c:29:30: error: stray '\342' in program
0_0_13786056_12840.c:29:30: error: stray '\270' in program
0_0_13786056_12840.c:29:30: error: stray '\366' in program
0_0_13786056_12840.c:29:30: error: stray '\310' in program
0_0_13786056_12840.c:29:30: error: stray '\303' in program
0_0_13786056_12840.c:29:30: error: stray '\316' in program
0_0_13786056_12840.c:29:30: error: stray '\322' in program
0_0_13786056_12840.c:29:30: error: stray '\301' in program
0_0_13786056_12840.c:29:30: error: stray '\313' in program
0_0_13786056_12840.c:29:30: error: stray '\272' in program
0_0_13786056_12840.c:29:30: error: stray '\303' in program
0_0_13786056_12840.c:29:30: error: stray '\266' in program
0_0_13786056_12840.c:29:30: error: stray '\340' in program
0_0_13786056_12840.c:29:30: error: stray '\264' in program
0_0_13786056_12840.c:29:30: error: stray '\316' in program
0_0_13786056_12840.c:29:30: error: stray '\241' in program
0_0_13786056_12840.c:29:30: error: stray '\243' in program
|