Compile Error
foo.cc: In function 'int main()':
foo.cc:6:13: error: invalid operands of types 'int' and 'double' to binary 'operator%'
6 | if(a%7.0==0&&a%5.0==0)
| ~^~~~
| | |
| | double
| int
foo.cc:6:23: error: invalid operands of types 'int' and 'double' to binary 'operator%'
6 | if(a%7.0==0&&a%5.0==0)
| ~^~~~
| | |
| | double
| int
[Hydro](https://hydro.ac)提供评测服务
信息
- 递交者
- 类型
- 递交
- 题目
- P1036 判断满足条件的数
- 语言
- C++
- 递交时间
- 2023-12-18 20:03:03
- 评测时间
- 2023-12-18 20:03:03
- 评测机
- 分数
- 0
- 总耗时
- 0ms
- 峰值内存
- 0 Bytes