remove_if

    [C++] 알고리즘 (#include <algorithm>): 있는 거 가져다 쓰자.

    #include 컨테이너에 반복자들을 가지고 이런 저런 작업을 쉽게 수행할 수 있도록 도와주는 라이브러리. 보통 다음의 두 형태를 가집니다. 반복자의 시작점과 끝점 바로 뒤를 받는 경우 반복자의 시작점과 끝점 바로 뒤 + 서술자(Predicate): 특정한 조건을 서술 template void do_something(Iter begin, Iter end); template void do_something(Iter begin, Iter end, Pred pred) 정렬 (sort, stable_sort, partial_sort) sort : 일반적인 정렬 함수이며, hybrid of QuickSort를 이용하여 구현되었습니다. std::sort(vec.begin(), vec.end(), greater())..