Record Detail

Runtime Error

prepare (1/3): 
finished

make (2/3): 
g++ -g -Wall -O2 -o main.o -c main.cpp 
In file included from main.cpp:4:0:
binary_heap.h: In instantiation of 'void binary_heap<TYPE, COMP>::PercolateDown(int) [with TYPE = grid; COMP = compare_t]':
main.cpp:311:1:   required from here
binary_heap.h:65:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         for (int i = 2 * Index; i <= data.size(); i = 2 * Index) {
binary_heap.h:66:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
             if (i < data.size() && !compare(data[i - 1], data[i + 1 - 1])) {
In file included from main.cpp:3:0:
unsorted_heap.h: In instantiation of 'const TYPE& unsorted_heap<TYPE, COMP>::get_min() const [with TYPE = grid; COMP = compare_t]':
main.cpp:311:1:   required from here
unsorted_heap.h:91:10: warning: reference to local variable 'MinElement' returned [-Wreturn-local-addr]
     TYPE MinElement = data[0];
          ^~~~~~~~~~
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 580.0 KiB
#2 Accepted 2ms 628.0 KiB
#3 Accepted 2ms 632.0 KiB
#4 Accepted 3ms 568.0 KiB
#5 Accepted 3ms 768.0 KiB
#6 Accepted 3ms 724.0 KiB
#7 Accepted 2ms 628.0 KiB
#8 Accepted 2ms 728.0 KiB
#9 Accepted 2ms 656.0 KiB
#10 Accepted 2ms 724.0 KiB
#11 Accepted 2ms 668.0 KiB
#12 Accepted 3ms 792.0 KiB
#13 Wrong Answer 3ms 584.0 KiB
#14 Wrong Answer 3ms 600.0 KiB
#15 Wrong Answer 3ms 684.0 KiB
#16 Wrong Answer 3ms 700.0 KiB
#17 Wrong Answer 4ms 728.0 KiB
#18 Wrong Answer 3ms 820.0 KiB
#19 Wrong Answer 3ms 624.0 KiB
#20 Wrong Answer 2ms 728.0 KiB
#21 Wrong Answer 2ms 664.0 KiB
#22 Wrong Answer 2ms 880.0 KiB
#23 Wrong Answer 3ms 584.0 KiB
#24 Wrong Answer 3ms 620.0 KiB
#25 Wrong Answer 2ms 744.0 KiB
#26 Wrong Answer 3ms 728.0 KiB
#27 Wrong Answer 3ms 812.0 KiB
#28 Wrong Answer 3ms 708.0 KiB
#29 Wrong Answer 3ms 716.0 KiB
#30 Wrong Answer 4ms 800.0 KiB
#31 Wrong Answer 3ms 800.0 KiB
#32 Wrong Answer 4ms 696.0 KiB
#33 Wrong Answer 3ms 688.0 KiB
#34 Wrong Answer 4ms 692.0 KiB
#35 Wrong Answer 3ms 876.0 KiB
#36 Wrong Answer 4ms 700.0 KiB
#37 Wrong Answer 4ms 900.0 KiB
#38 Wrong Answer 22ms 1.074 MiB
#39 Runtime Error (-11) 4ms 880.0 KiB
#40 Wrong Answer 25ms 1.02 MiB
#41 Wrong Answer 6ms 976.0 KiB
#42 Wrong Answer 30ms 884.0 KiB
#43 Wrong Answer 4ms 960.0 KiB
#44 Wrong Answer 18ms 880.0 KiB
#45 Wrong Answer 4ms 1020.0 KiB
#46 Wrong Answer 17ms 896.0 KiB
#47 Wrong Answer 5ms 972.0 KiB
#48 Wrong Answer 16ms 888.0 KiB
#49 Wrong Answer 3ms 868.0 KiB
#50 Wrong Answer 10ms 964.0 KiB
#51 Wrong Answer 4ms 1008.0 KiB
#52 Wrong Answer 11ms 920.0 KiB
#53 Wrong Answer 4ms 928.0 KiB
#54 Wrong Answer 10ms 968.0 KiB
#55 Wrong Answer 3ms 1.02 MiB
#56 Wrong Answer 4ms 888.0 KiB
#57 Wrong Answer 3ms 956.0 KiB
#58 Wrong Answer 5ms 888.0 KiB
#59 Wrong Answer 3ms 916.0 KiB
#60 Wrong Answer 4ms 976.0 KiB
#61 Wrong Answer 8ms 1.871 MiB
#62 Wrong Answer 54ms 1.762 MiB
#63 Wrong Answer 12ms 1.793 MiB
#64 Wrong Answer 61ms 1.773 MiB
#65 Wrong Answer 14ms 1.801 MiB
#66 Runtime Error (-11) 15ms 1.777 MiB
#67 Wrong Answer 7ms 1.855 MiB
#68 Wrong Answer 18ms 1.691 MiB
#69 Wrong Answer 6ms 1.637 MiB
#70 Wrong Answer 14ms 1.68 MiB
#71 Wrong Answer 8ms 1.77 MiB
#72 Wrong Answer 15ms 1.617 MiB
#73 Wrong Answer 8ms 1.738 MiB
#74 Wrong Answer 47ms 1.809 MiB
#75 Wrong Answer 13ms 1.922 MiB
#76 Wrong Answer 56ms 1.844 MiB
#77 Wrong Answer 12ms 1.648 MiB
#78 Wrong Answer 47ms 1.77 MiB
#79 Wrong Answer 10ms 1.648 MiB
#80 Wrong Answer 63ms 1.684 MiB
#81 Wrong Answer 14ms 1.766 MiB
#82 Wrong Answer 69ms 1.836 MiB
#83 Wrong Answer 16ms 1.848 MiB
#84 Wrong Answer 71ms 1.691 MiB
#85 Wrong Answer 32ms 6.898 MiB
#86 Wrong Answer 32ms 6.883 MiB
#87 Runtime Error (-11) 30ms 6.832 MiB
#88 Wrong Answer 54ms 6.773 MiB
#89 Wrong Answer 164ms 6.84 MiB
#90 Wrong Answer 101ms 6.891 MiB
#91 Wrong Answer 41ms 6.879 MiB
#92 Wrong Answer 140ms 6.887 MiB
#93 Wrong Answer 67ms 6.883 MiB
#94 Wrong Answer 32ms 6.945 MiB
#95 Wrong Answer 51ms 6.906 MiB
#96 Wrong Answer 44ms 6.902 MiB
#97 Wrong Answer 52ms 6.812 MiB
#98 Wrong Answer 96ms 6.824 MiB
#99 Runtime Error (-11) 29ms 6.906 MiB
#100 Wrong Answer 63ms 6.898 MiB
#101 Wrong Answer 187ms 6.852 MiB
#102 Wrong Answer 98ms 6.891 MiB
#103 Wrong Answer 35ms 6.793 MiB
#104 Wrong Answer 46ms 6.891 MiB
#105 Wrong Answer 39ms 6.895 MiB
#106 Wrong Answer 51ms 6.852 MiB
#107 Runtime Error (-11) 80ms 6.836 MiB
#108 Runtime Error (-11) 59ms 6.957 MiB
#109 Runtime Error (-11) 8ms 828.0 KiB
#110 Runtime Error (-11) 9ms 732.0 KiB
#111 Runtime Error (-11) 8ms 960.0 KiB
#112 Runtime Error (-11) 8ms 1016.0 KiB
#113 Runtime Error (-11) 8ms 948.0 KiB
#114 Runtime Error (-11) 8ms 860.0 KiB
#115 Runtime Error (-11) 9ms 800.0 KiB
#116 Runtime Error (-11) 8ms 888.0 KiB
#117 Runtime Error (-11) 8ms 852.0 KiB
#118 Runtime Error (-11) 7ms 904.0 KiB
#119 Runtime Error (-11) 8ms 812.0 KiB
#120 Runtime Error (-11) 8ms 872.0 KiB
#121 Runtime Error (-11) 7ms 800.0 KiB
#122 Runtime Error (-11) 7ms 812.0 KiB
#123 Runtime Error (-11) 9ms 916.0 KiB
#124 Runtime Error (-11) 7ms 820.0 KiB
#125 Runtime Error (-11) 22ms 844.0 KiB
#126 Runtime Error (-11) 24ms 868.0 KiB
#127 Runtime Error (-11) 23ms 916.0 KiB
#128 Runtime Error (-11) 22ms 820.0 KiB
#129 Runtime Error (-11) 24ms 796.0 KiB
#130 Runtime Error (-11) 23ms 932.0 KiB
#131 Runtime Error (-11) 26ms 796.0 KiB
#132 Runtime Error (-11) 23ms 876.0 KiB
#133 Runtime Error (-11) 24ms 884.0 KiB
#134 Runtime Error (-11) 26ms 816.0 KiB
#135 Runtime Error (-11) 25ms 916.0 KiB
#136 Runtime Error (-11) 23ms 856.0 KiB
#137 Runtime Error (-11) 22ms 808.0 KiB
#138 Runtime Error (-11) 23ms 792.0 KiB
#139 Runtime Error (-11) 25ms 792.0 KiB
#140 Runtime Error (-11) 23ms 888.0 KiB
#141 Runtime Error (-11) 35ms 848.0 KiB
#142 Runtime Error (-11) 30ms 756.0 KiB
#143 Runtime Error (-11) 34ms 796.0 KiB
#144 Runtime Error (-11) 34ms 868.0 KiB
#145 Runtime Error (-11) 34ms 876.0 KiB
#146 Runtime Error (-11) 36ms 868.0 KiB
#147 Runtime Error (-11) 32ms 764.0 KiB
#148 Runtime Error (-11) 36ms 876.0 KiB
#149 Runtime Error (-11) 32ms 844.0 KiB
#150 Runtime Error (-11) 34ms 804.0 KiB
#151 Runtime Error (-11) 33ms 912.0 KiB
#152 Runtime Error (-11) 34ms 860.0 KiB
#153 Runtime Error (-11) 35ms 972.0 KiB
#154 Runtime Error (-11) 31ms 860.0 KiB
#155 Runtime Error (-11) 32ms 992.0 KiB
#156 Runtime Error (-11) 34ms 980.0 KiB
#157 Runtime Error (-11) 36ms 868.0 KiB
#158 Runtime Error (-11) 36ms 812.0 KiB
#159 Runtime Error (-11) 31ms 900.0 KiB
#160 Runtime Error (-11) 32ms 912.0 KiB

Information

Submit By
Type
Submission
Homework
Lab05-PriorityQueues
Language
GNU Make
Submit At
2019-11-13 15:21:02
Judged At
2019-11-15 17:45:00
Judged By
Score
60
Total Time
3858ms
Peak Memory
6.957 MiB