gaurab_sust's blog

By gaurab_sust, 6 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())));

Read more »

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