Problem | abbb |
---|---|
User | enzo123890 |
Submission Time | 2023-03-10 15:55:00 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
abbb.cpp: In function ‘int main()’:
abbb.cpp:13:14: error: ‘False’ was not declared in this scope
13 | bool stop = False;
| ^~~~~
abbb.cpp:20:24: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
20 | if (x[j]+x[j+1] == "AB") {
| ^~~~
abbb.cpp:22:13: error: invalid conversion from ‘const char*’ to ‘__gnu_cxx::__alloc_traits<std::allocator<char>, char>::value_type’ {aka ‘char’} [-fpermissive]
22 | x[j] = "";
| ^~
| |
| const char*
abbb.cpp:23:15: error: invalid conversion from ‘const char*’ to ‘__gnu_cxx::__alloc_traits<std::allocator<char>, char>::value_type’ {aka ‘char’} [-fpermissive]
23 | x[j+1] = "";
| ^~
| |
| const char*
abbb.cpp:24:31: error: ISO C++ forbids comparison between pointer and inte