gaurab_sust's blog

By gaurab_sust, 11 years ago, In English

Suppose the vector is vec then , vec.sort(vec.begin(),vec.end()); vec.resize(distance(vec.begin(),unique(vec.begin(),vec.end())));

Full text and comments »

  • Vote: I like it
  • -5
  • Vote: I do not like it