Compile Error

/in/foo.cc: In function 'int main()':
/in/foo.cc:8:12: error: invalid operands of types 'double' and 'int' to binary 'operator%'
    8 |         b=b%10;
      |           ~^~~
      |           | |
      |           | int
      |           double

信息

递交者
类型
递交
题目
P2662 五舍六入
语言
C++
递交时间
2026-07-24 10:16:33
评测时间
2026-07-24 10:16:33
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes