Problem | reverseandmin |
---|---|
User | sophi |
Submission Time | 2023-12-11 10:04:35 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
reverseandmin.cpp: In function ‘int reverse(int, int)’:
reverseandmin.cpp:19:42: error: ‘to_vector’ is not a member of ‘std’; did you mean ‘vector’?
19 | std::vector<char> cur_vec = std::to_vector<char>(std::to_string(cur));
| ^~~~~~~~~
| vector
reverseandmin.cpp:19:52: error: expected primary-expression before ‘char’
19 | std::vector<char> cur_vec = std::to_vector<char>(std::to_string(cur));
| ^~~~
reverseandmin.cpp: In function ‘int countSpecialNumbers(int, int)’:
reverseandmin.cpp:29:36: error: ‘to_vector’ is not a member of ‘std’; did you mean ‘vector’?
29 | std::vector<char> str_k = std::to_vector<char>(std::to_string(k));
| ^~~~~~~~~
| vector
revers