Problem palindromicfizzbuzz
User G
Submission Time 2024-02-20 13:27:59
Score 0
Max Time N/A
Max Memory N/A

Compile Error

palindromicfizzbuzz.cpp: In function ‘bool pal(int)’:
palindromicfizzbuzz.cpp:5:21: error: ‘std::string’ {aka ‘class std::__cxx11::basic_string<char>’} has no member named ‘start’
5 | string z=reverse(y.start(),y.end());
| ^~~~~
palindromicfizzbuzz.cpp:5:11: error: ‘reverse’ was not declared in this scope
5 | string z=reverse(y.start(),y.end());
| ^~~~~~~
palindromicfizzbuzz.cpp:6:10: error: could not convert ‘y.std::__cxx11::basic_string<char>::operator=(z)’ from ‘std::__cxx11::basic_string<char>’ to ‘bool’
6 | return(y=z) ?true:false;
| ~~^~~
| |
| std::__cxx11::basic_string<char>