void delete_even(std::vector<int> &v)
{
    if (v.size() == 0)
        return;

    auto it = v.begin();

    while (it != v.end())
    {
        if (!(*it & 1))
            it = v.erase(it);
        else
            ++it;
    }
}