prepare (1/3):
finished
make (2/3):
g++ -g -Wall -O2 -o main.o -c main.cpp
In file included from main.cpp:6:0:
binary_heap.h: In instantiation of 'void binary_heap<TYPE, COMP>::percolateDown(int) [with TYPE = point; COMP = compare_t]':
main.cpp:220:1: required from here
binary_heap.h:67:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int j = 2* i +1; j<data.size();j = 2*id +1)
In file included from main.cpp:7:0:
unsorted_heap.h: In instantiation of 'TYPE unsorted_heap<TYPE, COMP>::dequeue_min() [with TYPE = point; COMP = compare_t]':
main.cpp:220:1: required from here
unsorted_heap.h:67:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < data.size() - 1; i++)
~~^~~~~~~~~~~~~~~~~
unsorted_heap.h: In instantiation of 'const TYPE& unsorted_heap<TYPE, COMP>::get_min() const [with TYPE = point; COMP = compare_t]':
main.cpp:220:1: required from here
unsorted_heap.h:81:7: warning: reference to local variable 'min' returned [-Wreturn-local-addr]
TYPE min = data.front();
^~~
g++ -g -Wall -O2 -o main main.o
finished
clean (3/3):
finished
all task finished, build successfully