Compile Error
foo.cc: In function 'int main()': foo.cc:10:6: error: 'num' was not declared in this scope; did you mean 'enum'? 10 | for(num=2;num<abc/2;num++) | ^~~ | enum foo.cc:14:4: error: 'count' was not declared in this scope 14 | count=1; | ^~~~~ foo.cc:20:19: error: 'count' was not declared in this scope 20 | if ((b+c)%10==a&&count==0) | ^~~~~ foo.cc:8:16: warning: unused variable 'countnum' [-Wunused-variable] 8 | int abc,a,b,c,countnum; | ^~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
信息
- 递交者
- 类型
- 递交
- 题目
- P1114 满足条件的3位整数(1)
- 语言
- C++
- 递交时间
- 2022-01-28 20:05:02
- 评测时间
- 2022-01-28 20:05:02
- 评测机
- 分数
- 0
- 总耗时
- 0ms
- 峰值内存
- 0 Bytes