Record Detail

Memory Exceeded

prepare (1/3): 
finished

make (2/3): 
g++ -g -Wall -O2 -o main.o -c main.cpp 
main.cpp: In function 'int main(int, char**)':
main.cpp:106:56: warning: narrowing conversion of 'i' from 'int' to 'unsigned int' inside { } [-Wnarrowing]
             *temp = {i, j, weight, nullptr, 0, false, 0};
                                                        ^
main.cpp:106:56: warning: narrowing conversion of 'j' from 'int' to 'unsigned int' inside { } [-Wnarrowing]
main.cpp:106:56: warning: narrowing conversion of 'weight' from 'int' to 'unsigned int' inside { } [-Wnarrowing]
main.cpp:134:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
                 if (i->x == x1 && i->y == y1) {
                     ~~~~~^~~~~
main.cpp:134:40: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
                 if (i->x == x1 && i->y == y1) {
                                   ~~~~~^~~~~
In file included from main.cpp:2:0:
unsorted_heap.h: In instantiation of 'const TYPE& unsorted_heap<TYPE, COMP>::get_min() const [with TYPE = place*; COMP = compare_t]':
main.cpp:168:1:   required from here
unsorted_heap.h:86:10: warning: reference to local variable 'min' returned [-Wreturn-local-addr]
     TYPE min = data[0];
          ^~~
main.cpp:116:30: warning: 'pql' may be used uninitialized in this function [-Wmaybe-uninitialized]
     pql->enqueue(grid[x0][y0]);
                              ^
g++ -g -Wall -o main main.o
finished

clean (3/3): 
finished

all task finished, build successfully
# Status Time Cost Memory Cost
#1 Accepted 3ms 484.0 KiB
#2 Accepted 3ms 504.0 KiB
#3 Accepted 3ms 532.0 KiB
#4 Accepted 3ms 464.0 KiB
#5 Accepted 3ms 488.0 KiB
#6 Accepted 3ms 792.0 KiB
#7 Accepted 3ms 572.0 KiB
#8 Accepted 3ms 464.0 KiB
#9 Accepted 3ms 612.0 KiB
#10 Accepted 3ms 512.0 KiB
#11 Accepted 3ms 504.0 KiB
#12 Accepted 3ms 464.0 KiB
#13 Accepted 3ms 540.0 KiB
#14 Accepted 4ms 668.0 KiB
#15 Accepted 3ms 556.0 KiB
#16 Accepted 4ms 600.0 KiB
#17 Accepted 3ms 548.0 KiB
#18 Accepted 4ms 684.0 KiB
#19 Accepted 3ms 636.0 KiB
#20 Accepted 3ms 668.0 KiB
#21 Accepted 3ms 632.0 KiB
#22 Accepted 3ms 600.0 KiB
#23 Accepted 3ms 604.0 KiB
#24 Accepted 3ms 532.0 KiB
#25 Accepted 3ms 564.0 KiB
#26 Accepted 6ms 592.0 KiB
#27 Accepted 3ms 564.0 KiB
#28 Accepted 5ms 696.0 KiB
#29 Accepted 3ms 604.0 KiB
#30 Accepted 5ms 600.0 KiB
#31 Accepted 4ms 620.0 KiB
#32 Accepted 6ms 748.0 KiB
#33 Accepted 4ms 568.0 KiB
#34 Accepted 6ms 760.0 KiB
#35 Accepted 4ms 596.0 KiB
#36 Accepted 6ms 544.0 KiB
#37 Accepted 6ms 924.0 KiB
#38 Accepted 60ms 1.031 MiB
#39 Accepted 9ms 976.0 KiB
#40 Accepted 80ms 1.02 MiB
#41 Accepted 11ms 1.008 MiB
#42 Accepted 67ms 1.016 MiB
#43 Accepted 6ms 996.0 KiB
#44 Accepted 39ms 936.0 KiB
#45 Accepted 7ms 1.0 MiB
#46 Accepted 47ms 952.0 KiB
#47 Accepted 9ms 1.012 MiB
#48 Accepted 43ms 1000.0 KiB
#49 Accepted 6ms 1.012 MiB
#50 Accepted 25ms 932.0 KiB
#51 Accepted 6ms 976.0 KiB
#52 Accepted 28ms 1.008 MiB
#53 Accepted 7ms 1.086 MiB
#54 Accepted 28ms 1.047 MiB
#55 Accepted 5ms 988.0 KiB
#56 Accepted 9ms 1000.0 KiB
#57 Accepted 5ms 956.0 KiB
#58 Accepted 10ms 940.0 KiB
#59 Accepted 5ms 976.0 KiB
#60 Accepted 9ms 1012.0 KiB
#61 Accepted 18ms 2.234 MiB
#62 Accepted 155ms 2.238 MiB
#63 Accepted 22ms 2.281 MiB
#64 Accepted 167ms 2.254 MiB
#65 Accepted 28ms 2.289 MiB
#66 Accepted 172ms 2.344 MiB
#67 Accepted 14ms 2.184 MiB
#68 Accepted 42ms 2.332 MiB
#69 Accepted 14ms 2.223 MiB
#70 Accepted 39ms 2.211 MiB
#71 Accepted 16ms 2.293 MiB
#72 Accepted 40ms 2.328 MiB
#73 Accepted 16ms 2.172 MiB
#74 Accepted 128ms 2.461 MiB
#75 Accepted 23ms 2.398 MiB
#76 Accepted 163ms 2.375 MiB
#77 Accepted 24ms 2.207 MiB
#78 Accepted 158ms 2.512 MiB
#79 Accepted 16ms 2.328 MiB
#80 Accepted 180ms 2.254 MiB
#81 Accepted 27ms 2.203 MiB
#82 Accepted 270ms 2.312 MiB
#83 Accepted 32ms 2.27 MiB
#84 Accepted 226ms 2.395 MiB
#85 Accepted 76ms 11.141 MiB
#86 Accepted 78ms 11.207 MiB
#87 Accepted 82ms 11.219 MiB
#88 Accepted 111ms 11.207 MiB
#89 Accepted 445ms 11.375 MiB
#90 Accepted 264ms 11.352 MiB
#91 Accepted 92ms 11.219 MiB
#92 Accepted 313ms 11.219 MiB
#93 Accepted 181ms 11.32 MiB
#94 Accepted 83ms 11.199 MiB
#95 Accepted 133ms 11.273 MiB
#96 Accepted 109ms 11.469 MiB
#97 Accepted 98ms 11.293 MiB
#98 Accepted 232ms 11.297 MiB
#99 Accepted 181ms 11.262 MiB
#100 Accepted 110ms 11.223 MiB
#101 Accepted 475ms 11.23 MiB
#102 Accepted 264ms 11.375 MiB
#103 Accepted 78ms 11.234 MiB
#104 Accepted 113ms 11.27 MiB
#105 Accepted 105ms 11.25 MiB
#106 Accepted 94ms 11.262 MiB
#107 Accepted 253ms 11.281 MiB
#108 Accepted 176ms 11.332 MiB
#109 Time Exceeded (-9) ≥401ms ≥43.426 MiB
#110 Accepted 885ms 43.77 MiB
#111 Time Exceeded (-9) ≥400ms ≥43.406 MiB
#112 Time Exceeded (-9) ≥904ms ≥43.609 MiB
#113 Time Exceeded (-9) ≥300ms ≥43.367 MiB
#114 Time Exceeded (-9) ≥400ms ≥43.398 MiB
#115 Time Exceeded (-9) ≥303ms ≥43.402 MiB
#116 Time Exceeded (-9) ≥306ms ≥43.344 MiB
#117 Accepted 470ms 43.41 MiB
#118 Time Exceeded (-9) ≥1002ms ≥43.461 MiB
#119 Accepted 375ms 43.398 MiB
#120 Time Exceeded (-9) ≥500ms ≥43.52 MiB
#121 Time Exceeded (-9) ≥302ms ≥43.395 MiB
#122 Time Exceeded (-9) ≥500ms ≥43.492 MiB
#123 Accepted 396ms 43.418 MiB
#124 Time Exceeded (-9) ≥601ms ≥43.488 MiB
#125 Time Exceeded (-9) ≥1304ms ≥171.828 MiB
#126 Time Exceeded (-9) ≥3100ms ≥172.051 MiB
#127 Time Exceeded (-9) ≥801ms ≥135.141 MiB
#128 Time Exceeded (-9) ≥1204ms ≥171.867 MiB
#129 Time Exceeded (-9) ≥1104ms ≥171.836 MiB
#130 Time Exceeded (-9) ≥2501ms ≥172.156 MiB
#131 Time Exceeded (-9) ≥1801ms ≥171.875 MiB
#132 Time Exceeded (-9) ≥4903ms ≥172.398 MiB
#133 Time Exceeded (-9) ≥1503ms ≥171.816 MiB
#134 Time Exceeded (-9) ≥3702ms ≥172.234 MiB
#135 Time Exceeded (-9) ≥2002ms ≥171.875 MiB
#136 Time Exceeded (-9) ≥5401ms ≥172.379 MiB
#137 Time Exceeded (-9) ≥1703ms ≥171.887 MiB
#138 Time Exceeded (-9) ≥4705ms ≥172.223 MiB
#139 Time Exceeded (-9) ≥702ms ≥119.172 MiB
#140 Time Exceeded (-9) ≥1001ms ≥165.402 MiB
#141 Memory Exceeded (-9) ≥2905ms ≥256.0 MiB
#142 Memory Exceeded (-9) ≥8503ms ≥256.0 MiB
#143 Memory Exceeded (-9) ≥2100ms ≥256.0 MiB
#144 Memory Exceeded (-9) ≥5301ms ≥256.0 MiB
#145 Time Exceeded (-9) ≥1200ms ≥204.152 MiB
#146 Memory Exceeded (-9) ≥2203ms ≥256.0 MiB
#147 Memory Exceeded (-9) ≥2200ms ≥256.0 MiB
#148 Memory Exceeded (-9) ≥5203ms ≥256.0 MiB
#149 Memory Exceeded (-9) ≥2900ms ≥256.0 MiB
#150 Memory Exceeded (-9) ≥8303ms ≥256.0 MiB
#151 Memory Exceeded (-9) ≥2401ms ≥256.0 MiB
#152 Memory Exceeded (-9) ≥6406ms ≥256.0 MiB
#153 Memory Exceeded (-9) ≥1607ms ≥256.0 MiB
#154 Memory Exceeded (-9) ≥3201ms ≥256.0 MiB
#155 Memory Exceeded (-9) ≥2600ms ≥256.0 MiB
#156 Memory Exceeded (-9) ≥7103ms ≥256.0 MiB
#157 Memory Exceeded (-9) ≥2401ms ≥256.0 MiB
#158 Memory Exceeded (-9) ≥6501ms ≥256.0 MiB
#159 Memory Exceeded (-9) ≥2801ms ≥256.0 MiB
#160 Memory Exceeded (-9) ≥8103ms ≥256.0 MiB

Information

Submit By
Type
Submission
Homework
Project Three: Priority Queue and its Application
Language
GNU Make
Submit At
2018-11-11 15:29:45
Judged At
2018-11-14 01:29:41
Judged By
Score
560
Total Time
≥136300ms
Peak Memory
≥256.0 MiB