1. vector<int>::iterator p,pp;
  2. p = v.begin();
  3. while(p != v.end()) {
  4. v.insert(p,*p);
  5. p++;
  6. }