Compile Error
/in/foo.cc: In function 'int main()':
/in/foo.cc:11:18: error: 'ans' was not declared in this scope
if(tmp%10==x) ans++;
^~~
/in/foo.cc:15:8: error: 'ans' was not declared in this scope
cout<<ans<<endl;
^~~
信息
- 递交者
- 类型
- 自测
- 题目
- P1848 记数问题
- 语言
- C++
- 递交时间
- 2024-07-23 20:55:18
- 评测时间
- 2024-07-23 20:55:18
- 评测机
- 分数
- 0
- 总耗时
- 0ms
- 峰值内存
- 0 Bytes