implement stack using heap or priority queue

join shbcf.ru