Problem palindromicfizzbuzz
User RandomCtfNoob
Submission Time 2025-03-03 15:45:14
Score 0
Max Time N/A
Max Memory N/A

Compile Error

palindromicfizzbuzz.cpp: In function ‘int main()’:
palindromicfizzbuzz.cpp:8:16: error: ‘to_strong’ was not declared in this scope
8 | string val = to_strong(i);
| ^~~~~~~~~
palindromicfizzbuzz.cpp:9:38: error: no matching function for call to ‘reverse(std::string&, std::__cxx11::basic_string<char>::size_type)’
9 | if (val == reverse(val,val.length())){
| ^
In file included from /usr/include/c++/9/algorithm:62,
from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:65,
from palindromicfizzbuzz.cpp:1:
/usr/include/c++/9/bits/stl_algo.h:1186:5: note: candidate: ‘template<class _BIter> void std::reverse(_BIter, _BIter)’
1186 | reverse(_BidirectionalIterator __first, _BidirectionalIterator __last)
| ^~~~~~~
/usr/include/c++/9/bits/stl_algo.h:1186:5: note: template argument deduction/substitution failed:
palindro