Record Detail

Runtime Error

prepare (1/3): 
finished

make (2/3): 
g++ -g -Wall -o main.o -c main.cpp 
In file included from main.cpp:5:0:
unsorted_heap.h: In instantiation of 'const TYPE& unsorted_heap<TYPE, COMP>::get_min() const [with TYPE = point; COMP = compare_t]':
main.cpp:256:1:   required from here
unsorted_heap.h:95:8: warning: reference to local variable 'min' returned [-Wreturn-local-addr]
   TYPE min = data[0];
        ^~~
main.cpp: In member function 'bool compare_t::operator()(point, point) const':
main.cpp:31:2: warning: control reaches end of non-void function [-Wreturn-type]
  }
  ^
g++ -g -Wall -o main main.o
finished

clean (3/3): 
finished

all task finished, build successfully
# Status Time Cost Memory Cost
#1 Runtime Error (-6) 2ms 468.0 KiB
#2 Runtime Error (-6) 2ms 504.0 KiB
#3 Runtime Error (-6) 2ms 480.0 KiB
#4 Runtime Error (-6) 2ms 508.0 KiB
#5 Runtime Error (-6) 2ms 460.0 KiB
#6 Runtime Error (-6) 2ms 476.0 KiB

Information

Submit By
Type
Submission
Homework
Project Three: Priority Queue and its Application
Language
GNU Make
Submit At
2018-11-12 03:07:51
Judged At
2018-11-12 03:07:51
Judged By
Score
0
Total Time
15ms
Peak Memory
508.0 KiB