Change vector<int> result;
to vector<int> result = numbers;
.
Replace all vector<string>
to vector<int>
and remove quote marks around numbers when you push_back
them
2
solved Sorting numbers using vector in c++ [closed]
Change vector<int> result;
to vector<int> result = numbers;
.
Replace all vector<string>
to vector<int>
and remove quote marks around numbers when you push_back
them
2
solved Sorting numbers using vector in c++ [closed]