Compile Error
foo.cc: In function 'void ReverseWord(std::string&)': foo.cc:21:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 21 | for (; i < s.length(); i++) | ~~^~~~~~~~~~~~ foo.cc:23:36: error: 'isBD' was not declared in this scope 23 | if (s[i] == ' ' || isBD(s[i]) == 1) | ^~~~
[Hydro](https://hydro.ac)提供评测服务
信息
- 递交者
- 类型
- 递交
- 语言
- C++
- 递交时间
- 2023-11-03 22:16:42
- 评测时间
- 2023-11-03 22:16:42
- 评测机
- 分数
- 0
- 总耗时
- 0ms
- 峰值内存
- 0 Bytes