记录详情

Compile Error

foo.cc: In function ‘int main()’:
foo.cc:16:6: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
   16 | else if(c=='%')
      |      ^~
foo.cc:17:28: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
   17 | printf("%.2f",double(a%b));
      |                            ^
foo.cc:17:28: error: expected ‘}’ at end of input
foo.cc:4:1: note: to match this ‘{’
    4 | {
      | ^

信息

递交者
类型
递交
题目
3-5 计算器
语言
C++
递交时间
2025-08-07 19:35:30
评测时间
2025-08-07 19:35:30
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes