Record Detail

Wrong Answer

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 Wrong Answer 2ms 700.0 KiB
#2 Wrong Answer 2ms 796.0 KiB
#3 Wrong Answer 2ms 620.0 KiB
#4 Wrong Answer 2ms 744.0 KiB
#5 Wrong Answer 2ms 532.0 KiB
#6 Wrong Answer 3ms 696.0 KiB

Information

Submit By
Type
Submission
Homework
Lab05-PriorityQueues
Language
GNU Make
Submit At
2019-11-10 21:56:47
Judged At
2019-11-10 21:56:47
Judged By
Score
0
Total Time
17ms
Peak Memory
796.0 KiB