Record Detail

Accepted

prepare (1/3): 
finished

make (2/3): 
g++ -g -Wall -o main.o -c main.cpp 
g++ -g -Wall -o simulation.o -c simulation.cpp 
simulation.cpp: In member function 'void virusSimulation::run()':
simulation.cpp:65:11: warning: deleting object of abstract class type 'event' which has non-virtual destructor will cause undefined behavior [-Wdelete-non-virtual-dtor]
    delete e;
           ^
simulation.cpp:76:10: warning: deleting object of abstract class type 'event' which has non-virtual destructor will cause undefined behavior [-Wdelete-non-virtual-dtor]
   delete e;
          ^
In file included from simulation.h:5:0,
                 from simulation.cpp:1:
unsorted_heap.h: In instantiation of 'void unsorted_heap<TYPE, COMP>::enqueue(const TYPE&) [with TYPE = event*; COMP = infect::compare_t]':
simulation.cpp:78:1:   required from here
unsorted_heap.h:64:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  if(heapSize++ == data.size())
In file included from event.h:3:0,
                 from simulation.h:3,
                 from simulation.cpp:1:
binary_heap.h: In instantiation of 'void binary_heap<TYPE, COMP>::enqueue(const TYPE&) [with TYPE = event*; COMP = infect::compare_t]':
simulation.cpp:78:1:   required from here
binary_heap.h:65:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  if (heapSize == data.size())
g++ -g -Wall -o event.o -c event.cpp 
g++ -g -Wall -o main main.o simulation.o event.o
finished

clean (3/3): 
finished

all task finished, build successfully
# Status Time Cost Memory Cost
#1 Accepted 2ms 656.0 KiB
#2 Accepted 2ms 704.0 KiB
#3 Accepted 3ms 672.0 KiB
#4 Accepted 3ms 692.0 KiB
#5 Accepted 2ms 624.0 KiB
#6 Accepted 2ms 672.0 KiB
#7 Accepted 2ms 668.0 KiB
#8 Accepted 2ms 800.0 KiB
#9 Accepted 2ms 748.0 KiB
#10 Accepted 2ms 936.0 KiB
#11 Accepted 2ms 624.0 KiB
#12 Accepted 2ms 676.0 KiB
#13 Accepted 2ms 728.0 KiB
#14 Accepted 3ms 696.0 KiB
#15 Accepted 2ms 600.0 KiB
#16 Accepted 3ms 816.0 KiB
#17 Accepted 2ms 704.0 KiB
#18 Accepted 2ms 780.0 KiB
#19 Accepted 5ms 716.0 KiB
#20 Accepted 6ms 808.0 KiB
#21 Accepted 81ms 628.0 KiB
#22 Accepted 82ms 672.0 KiB
#23 Accepted 25ms 908.0 KiB
#24 Accepted 25ms 828.0 KiB
#25 Accepted 1995ms 936.0 KiB
#26 Accepted 1989ms 876.0 KiB
#27 Accepted 116ms 1.301 MiB
#28 Accepted 115ms 1.129 MiB
#29 Accepted 3ms 800.0 KiB
#30 Accepted 4ms 628.0 KiB
#31 Accepted 226ms 3.484 MiB
#32 Accepted 229ms 3.473 MiB
#33 Accepted 892ms 752.0 KiB
#34 Accepted 956ms 924.0 KiB
#35 Accepted 1192ms 6.949 MiB
#36 Accepted 1216ms 6.961 MiB
#37 Accepted 837ms 3.809 MiB
#38 Accepted 842ms 3.703 MiB

Information

Submit By
Type
Submission
Homework
Project 3: Priority Queue
Language
GNU Make
Submit At
2020-07-12 23:58:19
Judged At
2020-08-11 07:48:16
Judged By
Score
190
Total Time
10901ms
Peak Memory
6.961 MiB