| Problem | reinforcement |
|---|---|
| User | IyasM |
| Submission Time | 2025-12-01 15:39:27 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
reinforcement.cpp:61:13: error: empty character constant
61 | string d = ''; // direction on each cell
| ^~
reinforcement.cpp: In function ‘std::string update_cells(int, std::string, std::string, std::string)’:
reinforcement.cpp:9:12: error: no match for ‘operator!=’ (operand types are ‘__gnu_cxx::__alloc_traits<std::allocator<char>, char>::value_type’ {aka ‘char’} and ‘std::string’ {aka ‘std::__cxx11::basic_string<char>’})
9 | if (t[i] != color) {
In file included from /usr/include/c++/9/iosfwd:40,
from /usr/include/c++/9/ios:38,
from /usr/include/c++/9/ostream:38,
from /usr/include/c++/9/iostream:39,
from reinforcement.cpp:1:
/usr/include/c++/9/bits/postypes.h:227:5: note: candidate: ‘template<class _StateT> bool std::operator!=(const std::fpos<_StateT>&, const std::fpos<_StateT>&)’
227 | operator!=(const fpos<