#include<iostream> #include<vector> #include<algorithm> using namespace std; vector<int> wash(vector<int>& arr) { int size = arr.size(); vector<int> tmp;  ...