Record Detail

Accepted

prepare (1/3): 
finished

make (2/3): 
g++ -o main main.cpp event.h event.cpp priority_queue.h binary_heap.h unsorted_heap.h simulation.h simulation.cpp
In file included from simulation.h:4:0,
                 from main.cpp:2:
unsorted_heap.h: In instantiation of 'const TYPE& unsorted_heap<TYPE, COMP>::get_min() const [with TYPE = int; COMP = std::less<int>]':
main.cpp:60:1:   required from here
unsorted_heap.h:93:10: warning: reference to local variable 'temp' returned [-Wreturn-local-addr]
     auto temp = this->data[1];
          ^~~~
In file included from simulation.h:4:0,
                 from simulation.cpp:2:
unsorted_heap.h: In instantiation of 'const TYPE& unsorted_heap<TYPE, COMP>::get_min() const [with TYPE = int; COMP = std::less<int>]':
simulation.cpp:138:1:   required from here
unsorted_heap.h:93:10: warning: reference to local variable 'temp' returned [-Wreturn-local-addr]
     auto temp = this->data[1];
          ^~~~
finished

clean (3/3): 
finished

all task finished, build successfully
# Status Time Cost Memory Cost
#1 Accepted 3ms 636.0 KiB
#2 Accepted 3ms 732.0 KiB
#3 Accepted 2ms 628.0 KiB
#4 Accepted 3ms 736.0 KiB
#5 Accepted 3ms 680.0 KiB
#6 Accepted 3ms 664.0 KiB
#7 Accepted 3ms 876.0 KiB
#8 Accepted 3ms 736.0 KiB
#9 Accepted 2ms 820.0 KiB
#10 Accepted 2ms 712.0 KiB
#11 Accepted 3ms 648.0 KiB
#12 Accepted 2ms 684.0 KiB
#13 Accepted 2ms 568.0 KiB
#14 Accepted 3ms 836.0 KiB
#15 Accepted 3ms 620.0 KiB
#16 Accepted 3ms 672.0 KiB
#17 Accepted 2ms 760.0 KiB
#18 Accepted 3ms 812.0 KiB
#19 Accepted 5ms 804.0 KiB
#20 Accepted 5ms 784.0 KiB
#21 Accepted 35ms 676.0 KiB
#22 Accepted 37ms 752.0 KiB
#23 Accepted 21ms 740.0 KiB
#24 Accepted 21ms 776.0 KiB
#25 Accepted 824ms 708.0 KiB
#26 Accepted 827ms 680.0 KiB
#27 Accepted 104ms 732.0 KiB
#28 Accepted 107ms 640.0 KiB
#29 Accepted 3ms 736.0 KiB
#30 Accepted 5ms 724.0 KiB
#31 Accepted 178ms 1.199 MiB
#32 Accepted 194ms 1.219 MiB
#33 Accepted 938ms 948.0 KiB
#34 Accepted 966ms 876.0 KiB
#35 Accepted 894ms 1.711 MiB
#36 Accepted 894ms 1.641 MiB
#37 Accepted 712ms 1.133 MiB
#38 Accepted 710ms 1.223 MiB

Information

Submit By
Type
Submission
Homework
Project 3: Priority Queue
Language
GNU Make
Submit At
2020-07-09 23:05:07
Judged At
2020-08-11 07:47:00
Judged By
Score
190
Total Time
7545ms
Peak Memory
1.711 MiB