记录详情

Runtime Error

/in/foo.c:3:6: warning: return type of 'main' is not 'int' [-Wmain]
 void main()
      ^~~~
/in/foo.c: In function 'main':
/in/foo.c:8:3: warning: implicit declaration of function 'abs' [-Wimplicit-function-declaration]
 m=abs(n);
   ^~~
/in/foo.c:30:1: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
 if ((j+1)%8!=0) for(;(j+1)%8!=0;j++) y[j]=0;y[j]=1;
 ^~
/in/foo.c:30:45: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
 if ((j+1)%8!=0) for(;(j+1)%8!=0;j++) y[j]=0;y[j]=1;
                                             ^
/in/foo.c:31:1: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
 for(k=0;k<j;k++) if(y[k]) f[k]=0;else f[k]=1;f[k]=1;
 ^~~
/in/foo.c:31:46: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
 for(k=0;k<j;k++) if(y[k]) f[k]=0;else f[k]=1;f[k]=1;
                                              ^
/in/foo.c:36:1: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
 for(k=0;k<=g;k++)if(b[k]==1){printf("%d",k);break;}printf("\n");
 ^~~
/in/foo.c:36:52: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
 for(k=0;k<=g;k++)if(b[k]==1){printf("%d",k);break;}printf("\n");
                                                    ^~~~~~
# 状态 耗时 内存占用
#1 Runtime Error 0ms 200.0 KiB

信息

递交者
类型
递交
题目
位的序号
语言
C
递交时间
2018-12-07 23:09:35
评测时间
2018-12-07 23:09:43
评测机
分数
0
总耗时
0ms
峰值内存
200.0 KiB