use MinHeap in problem01.cpp, but failed

successful in example, but can't pass online test.