Problem | prime |
---|---|
User | Elwinthenerd |
Submission Time | 2024-03-31 13:35:18 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
prime.cpp: In function ‘int main()’:
prime.cpp:15:13: error: could not convert ‘result.std::__cxx11::basic_string<char>::operator=(((const char*)"Prime"))’ from ‘std::__cxx11::basic_string<char>’ to ‘bool’
15 | if (result = "Prime") {
| ~~~~~~~^~~~~~~~~
| |
| std::__cxx11::basic_string<char>