Compile Error

foo.cc: In function ‘int main()’:
foo.cc:11:17: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
   11 |                 if(c>=ding)
      |                 ^~
foo.cc:13:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
   13 |                         break;
      |                         ^~~~~
foo.cc:14:17: error: ‘else’ without a previous ‘if’
   14 |                 else
      |                 ^~~~

信息

递交者
类型
递交
题目
P2556 小杨做题2级1 2023.12
语言
C++
递交时间
2024-03-27 19:34:15
评测时间
2024-03-27 19:34:15
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes