Problem | pigeons |
---|---|
User | JhoCyber |
Submission Time | 2024-12-16 20:23:47 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
pigeons.cpp: In function ‘int main()’:
pigeons.cpp:11:15: error: could not convert ‘a.std::__cxx11::basic_string<char>::operator=(((const char*)"LAND"))’ from ‘std::__cxx11::basic_string<char>’ to ‘bool’
11 | if (a = "LAND"){
| ~~^~~~~~~~
| |
| std::__cxx11::basic_string<char>
pigeons.cpp:14:15: error: could not convert ‘a.std::__cxx11::basic_string<char>::operator=(((const char*)"LEAVE"))’ from ‘std::__cxx11::basic_string<char>’ to ‘bool’
14 | if (a = "LEAVE"){
| ~~^~~~~~~~~
| |
| std::__cxx11::basic_string<char>
pigeons.cpp:17:15: error: could not convert ‘a.std::__cxx11::basic_string<char>::operator=(((const char*)"EVAQUATE"))’ from ‘std::__cxx11::basic_string<char>’ to ‘bool’
17 | if (a = "EVAQUATE"){
| ~~^~~~~~~~~~~~
|