Problem | palindromicfizzbuzz |
---|---|
User | JhoCyber |
Submission Time | 2025-01-16 21:20:31 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
palindromicfizzbuzz.cpp: In function ‘int32_t main()’:
palindromicfizzbuzz.cpp:12:17: error: ‘std::string’ {aka ‘class std::__cxx11::basic_string<char>’} has no member named ‘reverse’; did you mean ‘reserve’?
12 | if(p==p.reverse()){
| ^~~~~~~
| reserve
palindromicfizzbuzz.cpp:13:34: error: expected ‘;’ before ‘}’ token
13 | cout << "Palindrome!"
| ^
| ;
14 | }
| ~