Garmaine Staff asked 1 year ago

Here's my code(works fine), and the complaint of IDE: enter image description here I tried setting vector size with vector<string> result(tmp.size()); but after that, result will contain tmp.size() amount of empty strings in the front, and I don't wan't to use insert.

Is there any better workaround on this?