Problem numericalstrings
User Henries
Submission Time 2024-10-19 23:50:23
Score 0
Max Time N/A
Max Memory N/A

Compile Error

numericalstrings.cpp: In function ‘int main()’:
numericalstrings.cpp:24:19: error: ‘n’ was not declared in this scope
24 | vector<string> v(n);
| ^
numericalstrings.cpp:32:8: error: could not convert ‘v’ from ‘vector<std::__cxx11::basic_string<char>>’ to ‘vector<int>’
32 | solve(v,k);
| ^
| |
| vector<std::__cxx11::basic_string<char>>