Compile Error
foo.cc: In function ‘int main()’: foo.cc:12:39: error: ‘cnt’ was not declared in this scope; did you mean ‘int’? 12 | if(z%c==0&&x*a+y*b+z/c==n)cnt++; | ^~~ | int
信息
- 递交者
- 类型
- 自测
- 题目
- P2590 百鸡问题2级2 2023.3
- 语言
- C++
- 递交时间
- 2025-08-09 12:35:26
- 评测时间
- 2025-08-09 12:35:26
- 评测机
- 分数
- 0
- 总耗时
- 0ms
- 峰值内存
- 0 Bytes