If we use the next code, the above behaviour.
The follow code show the common error, creating new pointers and not erase the container.
If we compile and execute this two codes, we obtain the next statistical result:
The follow code show the common error, creating new pointers and not erase the container.