/* sort function is an inbuilt function that is used for sorting purpose. begin function returns the starting index of the set and end function returns the last index of the set */ sort(set1.begin(),set1.end()); for(i=0; i<n2; i++) { for(int j=0; j<n1 && set1[j] <...