// function removes all the odd elements void remove_odd(set<int> &s) { for (set<int>::iterator it=s.begin(); it!=s.end();) { if (*it%2==1) s.erase(it++); else ++it; } }
"assignmentexpert.com" is professional group of people in Math subjects! They did assignments in very high level of mathematical modelling in the best quality. Thanks a lot
Comments