记录详情

Compile Error

/in/foo.c: In function 'main':
/in/foo.c:7:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
    7 |     if(a+b>c&&a+c>b&&b+c>a)
      |     ^~
/in/foo.c:9:19: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
    9 |                   printf("%.2f\n",perimeter);
      |                   ^~~~~~
/in/foo.c: At top level:
/in/foo.c:10:10: error: expected identifier or '(' before 'else'
   10 |         }else{
      |          ^~~~
/in/foo.c:13:9: error: expected identifier or '(' before 'return'
   13 |         return 0;
      |         ^~~~~~
/in/foo.c:14:1: error: expected identifier or '(' before '}' token
   14 | }
      | ^

信息

递交者
类型
自测
语言
C
递交时间
2025-11-08 16:53:02
评测时间
2025-11-08 16:53:02
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes