The complexity of std::vector::erase() is linear both to the length of the ... (so erasing an element from the end takes constant time).
確定! 回上一頁