Problem reverseandmin
User Elnathan
Submission Time 2023-12-11 10:39:37
Score 0
Max Time N/A
Max Memory N/A

Compile Error

reverseandmin.cpp: In function ‘int main()’:
reverseandmin.cpp:11:30: error: ‘std::string’ {aka ‘class std::__cxx11::basic_string<char>’} has no member named ‘temptemp’
11 | string temp = to_string(k). temptemp;
| ^~~~~~~~
reverseandmin.cpp:23:3: error: ‘temptemp’ was not declared in this scope
23 | temptemp = to_string();
| ^~~~~~~~
reverseandmin.cpp:23:24: error: no matching function for call to ‘to_string()’
23 | temptemp = to_string();
| ^
In file included from /usr/include/c++/9/string:55,
from /usr/include/c++/9/stdexcept:39,
from /usr/include/c++/9/array:39,
from /usr/include/c++/9/tuple:39,
from /usr/include/c++/9/functional:54,
from /usr/include/c++/9/pstl/glue_algorithm_defs.h:13,
from /usr/include/c++/9/algorithm:71,