이롷게 new 쓰면
p->prev 가 힙에 쌓이는 거 맞져
역시 delete 안 쓰면 문제가 생기는건가여?

문제 없이하려면
STACK* temp 하나 만드러서 delete temp 해야 하나여?