Record Detail

Accepted

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 Accepted 2ms 388.0 KiB
#2 Accepted 2ms 376.0 KiB
#3 Accepted 2ms 396.0 KiB
#4 Accepted 2ms 376.0 KiB
#5 Accepted 2ms 404.0 KiB
#6 Accepted 2ms 320.0 KiB

Information

Submit By
Type
Submission
Homework
Project Three: Priority Queue and its Application
Language
GNU Make
Submit At
2018-11-12 03:11:17
Judged At
2018-11-12 03:11:17
Judged By
Score
60
Total Time
14ms
Peak Memory
404.0 KiB