Compile Error
foo.cc: In function 'int main()': foo.cc:8:8: error: invalid operands of types 'double' and 'int' to binary 'operator%' 8 | a=(n-n%3)/3; | ~^~ | | | | | int | double foo.cc:9:8: error: invalid operands of types 'double' and 'int' to binary 'operator%' 9 | b=(n-n%4)/4; | ~^~ | | | | | int | double
[Hydro](https://hydro.ac)提供评测服务
信息
- 递交者
- 类型
- 递交
- 题目
- P1040 xf1-10多喝饮料
- 语言
- C++
- 递交时间
- 2022-03-23 19:49:39
- 评测时间
- 2022-03-23 19:49:39
- 评测机
- 分数
- 0
- 总耗时
- 0ms
- 峰值内存
- 0 Bytes