void deleteOdd(vector<int> &v) { v.erase(remove_if(v.begin(),v.end(),[](int x){ return !(x&1);}),v.end()); }