记录详情

Compile Error

/in/foo.c: In function 'main':
/in/foo.c:8:10: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
    8 |     else if(70<=a&&a<=79);
      |          ^~
/in/foo.c:9:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
    9 |     {printf("B\n");}
      |     ^
/in/foo.c:10:5: error: 'else' without a previous 'if'
   10 |     else if(60<=a&&a<=69);
      |     ^~~~
/in/foo.c:10:10: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
   10 |     else if(60<=a&&a<=69);
      |          ^~
/in/foo.c:11:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
   11 |     {printf("C\n");}
      |     ^
/in/foo.c:12:5: error: 'else' without a previous 'if'
   12 |     else if(0<=a&&a<60);
      |     ^~~~
/in/foo.c:12:10: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
   12 |     else if(0<=a&&a<60);
      |          ^~
/in/foo.c:13:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
   13 |     {printf("D\n");}
      |     ^

信息

递交者
类型
自测
语言
C
递交时间
2025-11-13 17:04:41
评测时间
2025-11-13 17:04:41
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes