Record Detail

Wrong Answer

prepare (1/3): 
finished

make (2/3): 
g++ -g -Wall -O2 -o main.o -c main.cpp 
main.cpp: In function 'int main()':
main.cpp:117:14: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  if(q2.size()==node_num){
     ~~~~~~~~~^~~~~~~~~~
In file included from main.cpp:15:0:
binary_heap.h: In instantiation of 'void binary_heap<TYPE, COMP>::percolate_down(int) [with TYPE = node*; COMP = compare_n]':
binary_heap.h:77:16:   required from 'TYPE binary_heap<TYPE, COMP>::dequeue_min() [with TYPE = node*; COMP = compare_n]'
main.cpp:164:28:   required from here
binary_heap.h:116:9: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  while(j<data.size()){
binary_heap.h:118:11: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   if((j+1)<data.size()){
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 1ms 376.0 KiB
#2 Wrong Answer 1ms 384.0 KiB
#3 Wrong Answer 1ms 340.0 KiB
#4 Accepted 1ms 404.0 KiB
#5 Wrong Answer 1ms 448.0 KiB

Information

Submit By
Type
Submission
Homework
Project Five: Graph Algorithms
Language
GNU Make
Submit At
2018-12-08 16:51:18
Judged At
2018-12-08 16:51:18
Judged By
Score
10
Total Time
9ms
Peak Memory
448.0 KiB