What happens when you attempt to compile and run the following code?
#include
#include
#include
using namespace std;
int main(){
int t[] ={ 1, 1, 2, 2, 3, 3, 4, 4, 5, 5 };
list
multiset
if (s1.count(3) == 2) {
s1.erase(3);
}
for(multiset
cout<<*i<<" ";
}
return 0;
}
Currently there are no comments in this discussion, be the first to comment!