fumiphys / programming_contest

library for programming contest
3 stars 0 forks source link

update template file #40

Closed fumiphys closed 4 years ago

fumiphys commented 4 years ago

UNIQUE macro ->

template <typename Tp>
void unique(Tp& c) {
  c.erase(std::unique(c.begin(), c.end()), c.end());
}
fumiphys commented 4 years ago

changed at 61d2bdb833e5b6018e465735c049e37afa35d1f5.