Record Detail

Accepted

prepare (1/3): 
finished

make (2/3): 
g++ -g -Wall -O2 -o main.o -c main.cpp 
In file included from main.cpp:3:0:
unsorted_heap.h: In instantiation of 'TYPE unsorted_heap<TYPE, COMP>::dequeue_min() [with TYPE = point*; COMP = compare_t]':
main.cpp:225:5:   required from here
unsorted_heap.h:70:14: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for(i=1;i<data.size();i++)
unsorted_heap.h: In instantiation of 'const TYPE& unsorted_heap<TYPE, COMP>::get_min() const [with TYPE = point*; COMP = compare_t]':
main.cpp:225:5:   required from here
unsorted_heap.h:89:14: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for(i=1;i<data.size();i++)
In file included from main.cpp:2:0:
binary_heap.h: In instantiation of 'TYPE binary_heap<TYPE, COMP>::dequeue_min() [with TYPE = point*; COMP = compare_t]':
main.cpp:225:5:   required from here
binary_heap.h:87:9: warning: unused variable 'b' [-Wunused-variable]
     int b=data.size()-1;
         ^
g++ -g -Wall -O2 -o main main.o
finished

clean (3/3): 
finished

all task finished, build successfully
# Status Time Cost Memory Cost
#1 Accepted 3ms 728.0 KiB
#2 Accepted 2ms 776.0 KiB
#3 Accepted 2ms 668.0 KiB
#4 Accepted 2ms 700.0 KiB
#5 Accepted 3ms 696.0 KiB
#6 Accepted 3ms 596.0 KiB

Information

Submit By
Type
Submission
Homework
Lab05-PriorityQueues
Language
GNU Make
Submit At
2019-11-12 00:26:45
Judged At
2019-11-12 00:26:45
Judged By
Score
30
Total Time
17ms
Peak Memory
776.0 KiB