/* 题目: 给定一个 vector:v1 = [0, 0, 30, 20, 0, 0, 0, 0, 10, 0],希望通过not_equal_to 算法找到到不为零的元素,并复制到另一个 vector: v2 */ int _tmain(int argc, _TCHAR* argv[]) { vector<int> v1; v1.push_back(0); v1.push_back(0); v1.push_back(30); v1.push_back(20); v1.push_back(0)…