/ Test /

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:6:0:
fib_heap.h: In instantiation of 'TYPE fib_heap<TYPE, COMP>::dequeue_min() [with TYPE = nodes; COMP = compare_t]':
main.cpp:128:1:   required from here
fib_heap.h:232:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
                     if(index!=arraysize-1)index++;
                        ~~~~~^~~~~~~~~~~~~
fib_heap.h: In member function 'const TYPE& fib_heap<TYPE, COMP>::get_min() const [with TYPE = nodes; COMP = compare_t]':
fib_heap.h:264:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^
In file included from main.cpp:4:0:
binary_heap.h: In member function 'const TYPE& binary_heap<TYPE, COMP>::get_min() const [with TYPE = nodes; COMP = compare_t]':
binary_heap.h:102:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^
In file included from main.cpp:5:0:
unsorted_heap.h: In member function 'const TYPE& unsorted_heap<TYPE, COMP>::get_min() const [with TYPE = nodes; COMP = compare_t]':
unsorted_heap.h:98:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^
In file included from main.cpp:6:0:
fib_heap.h: In member function 'TYPE fib_heap<TYPE, COMP>::dequeue_min() [with TYPE = nodes; COMP = compare_t]':
fib_heap.h:259:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^
In file included from main.cpp:4:0:
binary_heap.h: In member function 'TYPE binary_heap<TYPE, COMP>::dequeue_min() [with TYPE = nodes; COMP = compare_t]':
binary_heap.h:97:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^
In file included from main.cpp:5:0:
unsorted_heap.h: In member function 'TYPE unsorted_heap<TYPE, COMP>::dequeue_min() [with TYPE = nodes; COMP = compare_t]':
unsorted_heap.h:82:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^
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 2ms 576.0 KiB
#2 Accepted 2ms 676.0 KiB
#3 Accepted 2ms 600.0 KiB
#4 Wrong Answer 2ms 908.0 KiB
#5 Accepted 2ms 760.0 KiB
#6 Accepted 3ms 716.0 KiB

Information

Submit By
Type
Submission
Homework
VE281 Lab05 test
Language
GNU Make
Submit At
2019-11-19 11:33:09
Judged At
2019-11-19 11:33:09
Judged By
Score
25
Total Time
17ms
Peak Memory
908.0 KiB