(c++) 최소 힙 구현 시, 비교 함수 대신 greater<>() 쓰기