Compile Error

/in/foo.cc: In function 'int main()':
/in/foo.cc:10:13: error: invalid operands of types 'double' and 'int' to binary 'operator%'
   10 |         if(k%10==0)
      |            ~^~~
      |            | |
      |            | int
      |            double

信息

递交者
类型
递交
题目
P1009 阶乘末尾的0
语言
C++
递交时间
2025-10-03 16:03:01
评测时间
2025-10-03 16:03:01
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes