Medium
Erase elements while iterating a vector
Fill in the blank so this loop correctly removes every even number from v without invalidating it or skipping elements.
main.cpp
for (auto it = v.begin(); it != v.end(); ) { if (*it % 2 == 0) { it = ; } else { ++it; }}93 of 117 in C++