prepare (1/3):
finished
make (2/3):
g++ -g -Wall -O2 -o p3.o -c p3.cpp
In file included from p3.cpp:7:0:
unsorted_heap.h: In instantiation of 'const TYPE& unsorted_heap<TYPE, COMP>::get_min() const [with TYPE = cell*; COMP = cell::compare_t]':
p3.cpp:149:1: required from here
unsorted_heap.h:88:7: warning: reference to local variable 'result' returned [-Wreturn-local-addr]
TYPE result = data[1];
^~~~~~
p3.cpp: In function 'int main(int, char**)':
p3.cpp:132:17: warning: 'PQ' may be used uninitialized in this function [-Wmaybe-uninitialized]
PQ->enqueue(N);
~~~~~~~~~~~^~~
g++ -g -Wall -O2 -o main p3.o
finished
clean (3/3):
finished
all task finished, build successfully