Problem palindromicfizzbuzz
User G
Submission Time 2024-02-21 12:21:34
Score 0
Max Time N/A
Max Memory N/A

Compile Error

palindromicfizzbuzz.cpp:3:14: error: variable or field ‘reverse’ declared void
3 | void reverse(BidirIt first, BidirIt last)
| ^~~~~~~
palindromicfizzbuzz.cpp:3:14: error: ‘BidirIt’ was not declared in this scope
palindromicfizzbuzz.cpp:3:29: error: ‘BidirIt’ was not declared in this scope
3 | void reverse(BidirIt first, BidirIt last)
| ^~~~~~~
palindromicfizzbuzz.cpp: In function ‘bool pal(int)’:
palindromicfizzbuzz.cpp:23:11: error: ‘reverse’ was not declared in this scope
23 | string z=reverse(y.begin(),y.end());
| ^~~~~~~
palindromicfizzbuzz.cpp:24:10: error: could not convert ‘y.std::__cxx11::basic_string<char>::operator=(z)’ from ‘std::__cxx11::basic_string<char>’ to ‘bool’
24 | return(y=z) ?true:false;
| ~~^~~
| |
| std::__cxx11::basic_string<char>