Compile Error
foo.cc: In function 'std::string removeChar(std::string)':
foo.cc:6:21: warning: unused variable 'i' [-Wunused-variable]
6 | int len=s.length(),i;
| ^
foo.cc: In function 'int main()':
foo.cc:19:7: error: 'ch' was not declared in this scope
19 | cin>>ch;
| ^~
[Hydro](https://hydro.ac)提供评测服务
信息
- 递交者
- 类型
- 递交
- 题目
- P1105 删除指定字符
- 语言
- C++
- 递交时间
- 2022-07-18 12:45:02
- 评测时间
- 2022-07-18 12:45:02
- 评测机
- 分数
- 0
- 总耗时
- 0ms
- 峰值内存
- 0 Bytes