Record Detail

Time 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:121:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for (int i = 0; i < grid.size() ; ++i) {
                     ~~^~~~~~~~~~~~~
main.cpp:114:15: warning: unused variable 'compare' [-Wunused-variable]
     compare_t compare;
               ^~~~~~~
In file included from main.cpp:9:0:
unsorted_heap.h: In instantiation of 'TYPE unsorted_heap<TYPE, COMP>::dequeue_min() [with TYPE = cell; COMP = compare_t]':
main.cpp:242:1:   required from here
unsorted_heap.h:71:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for (int i = 0; i < data.size() ; ++i) {
unsorted_heap.h: In instantiation of 'const TYPE& unsorted_heap<TYPE, COMP>::get_min() const [with TYPE = cell; COMP = compare_t]':
main.cpp:242:1:   required from here
unsorted_heap.h:92:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for (int i = 0; i < data.size() ; ++i) {
In file included from main.cpp:10:0:
fib_heap.h: In instantiation of 'fib_heap<TYPE, COMP>::fib_nodes::fib_nodes(TYPE, fib_heap<TYPE, COMP>::fib_nodes*, fib_heap<TYPE, COMP>::fib_nodes*, fib_heap<TYPE, COMP>::fib_nodes*, fib_heap<TYPE, COMP>::fib_nodes*, int, bool) [with TYPE = cell; COMP = compare_t]':
fib_heap.h:123:23:   required from 'void fib_heap<TYPE, COMP>::enqueue(const TYPE&) [with TYPE = cell; COMP = compare_t]'
main.cpp:242:1:   required from here
fib_heap.h:67:12: warning: 'fib_heap<cell, compare_t>::fib_nodes::key' will be initialized after [-Wreorder]
       TYPE key;
            ^~~
fib_heap.h:61:19: warning:   'fib_heap<cell, compare_t>::fib_nodes* fib_heap<cell, compare_t>::fib_nodes::parent' [-Wreorder]
       fib_nodes * parent;
                   ^~~~~~
fib_heap.h:69:7: warning:   when initialized here [-Wreorder]
       fib_nodes(TYPE k,
       ^~~~~~~~~
In file included from main.cpp:8:0:
binary_heap.h: In instantiation of 'void binary_heap<TYPE, COMP>::percolateDown(int) [with TYPE = cell; COMP = compare_t]':
binary_heap.h:93:18:   required from 'TYPE binary_heap<TYPE, COMP>::dequeue_min() [with TYPE = cell; COMP = compare_t]'
main.cpp:242:1:   required from here
binary_heap.h:100:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for (int j = 2*id; j <= data.size() ; j = 2*id) {
binary_heap.h:101:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         if (j < data.size() && compare(data[j+1-1],data[j-1])) j++;
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 3ms 672.0 KiB
#2 Accepted 3ms 724.0 KiB
#3 Accepted 2ms 728.0 KiB
#4 Accepted 2ms 668.0 KiB
#5 Accepted 2ms 828.0 KiB
#6 Accepted 3ms 644.0 KiB
#7 Accepted 3ms 728.0 KiB
#8 Accepted 3ms 628.0 KiB
#9 Accepted 2ms 728.0 KiB
#10 Accepted 2ms 804.0 KiB
#11 Accepted 2ms 584.0 KiB
#12 Accepted 2ms 620.0 KiB
#13 Accepted 3ms 724.0 KiB
#14 Wrong Answer 3ms 612.0 KiB
#15 Accepted 3ms 728.0 KiB
#16 Wrong Answer 3ms 732.0 KiB
#17 Accepted 2ms 736.0 KiB
#18 Wrong Answer 3ms 880.0 KiB
#19 Accepted 2ms 700.0 KiB
#20 Wrong Answer 3ms 644.0 KiB
#21 Accepted 3ms 708.0 KiB
#22 Wrong Answer 3ms 820.0 KiB
#23 Accepted 2ms 692.0 KiB
#24 Wrong Answer 3ms 600.0 KiB
#25 Accepted 3ms 672.0 KiB
#26 Wrong Answer 5ms 644.0 KiB
#27 Accepted 3ms 624.0 KiB
#28 Wrong Answer 4ms 700.0 KiB
#29 Accepted 3ms 664.0 KiB
#30 Wrong Answer 3ms 724.0 KiB
#31 Accepted 3ms 624.0 KiB
#32 Wrong Answer 4ms 764.0 KiB
#33 Accepted 3ms 704.0 KiB
#34 Wrong Answer 6ms 676.0 KiB
#35 Accepted 3ms 700.0 KiB
#36 Wrong Answer 4ms 716.0 KiB
#37 Accepted 5ms 884.0 KiB
#38 Wrong Answer 24ms 1.004 MiB
#39 Accepted 6ms 896.0 KiB
#40 Wrong Answer 25ms 992.0 KiB
#41 Accepted 7ms 980.0 KiB
#42 Wrong Answer 25ms 948.0 KiB
#43 Accepted 4ms 920.0 KiB
#44 Wrong Answer 16ms 988.0 KiB
#45 Accepted 5ms 952.0 KiB
#46 Wrong Answer 16ms 984.0 KiB
#47 Accepted 5ms 972.0 KiB
#48 Wrong Answer 17ms 908.0 KiB
#49 Accepted 4ms 980.0 KiB
#50 Wrong Answer 10ms 1000.0 KiB
#51 Accepted 4ms 916.0 KiB
#52 Wrong Answer 11ms 968.0 KiB
#53 Accepted 5ms 972.0 KiB
#54 Wrong Answer 12ms 928.0 KiB
#55 Accepted 4ms 948.0 KiB
#56 Wrong Answer 5ms 1.0 MiB
#57 Accepted 4ms 880.0 KiB
#58 Wrong Answer 6ms 1.082 MiB
#59 Accepted 4ms 860.0 KiB
#60 Wrong Answer 7ms 1.059 MiB
#61 Accepted 10ms 1.703 MiB
#62 Wrong Answer 57ms 1.668 MiB
#63 Accepted 15ms 1.82 MiB
#64 Wrong Answer 55ms 1.809 MiB
#65 Accepted 14ms 1.844 MiB
#66 Wrong Answer 56ms 1.82 MiB
#67 Accepted 7ms 1.812 MiB
#68 Wrong Answer 15ms 1.77 MiB
#69 Accepted 7ms 1.852 MiB
#70 Wrong Answer 16ms 1.699 MiB
#71 Accepted 8ms 1.781 MiB
#72 Wrong Answer 21ms 1.66 MiB
#73 Accepted 8ms 1.801 MiB
#74 Wrong Answer 47ms 1.875 MiB
#75 Accepted 12ms 1.855 MiB
#76 Wrong Answer 61ms 1.855 MiB
#77 Accepted 13ms 1.645 MiB
#78 Wrong Answer 61ms 1.938 MiB
#79 Accepted 12ms 1.855 MiB
#80 Wrong Answer 77ms 1.77 MiB
#81 Accepted 16ms 1.773 MiB
#82 Wrong Answer 81ms 1.797 MiB
#83 Accepted 15ms 1.844 MiB
#84 Wrong Answer 78ms 1.695 MiB
#85 Accepted 36ms 6.887 MiB
#86 Accepted 38ms 7.004 MiB
#87 Accepted 34ms 7.023 MiB
#88 Accepted 68ms 7.035 MiB
#89 Accepted 211ms 7.023 MiB
#90 Accepted 134ms 6.918 MiB
#91 Accepted 48ms 6.949 MiB
#92 Accepted 150ms 7.02 MiB
#93 Accepted 84ms 6.992 MiB
#94 Accepted 37ms 6.906 MiB
#95 Accepted 62ms 6.844 MiB
#96 Accepted 52ms 6.859 MiB
#97 Accepted 49ms 7.059 MiB
#98 Accepted 116ms 6.988 MiB
#99 Accepted 91ms 6.852 MiB
#100 Accepted 72ms 6.977 MiB
#101 Accepted 226ms 6.91 MiB
#102 Accepted 118ms 6.832 MiB
#103 Accepted 40ms 6.945 MiB
#104 Accepted 52ms 7.016 MiB
#105 Accepted 102ms 6.996 MiB
#106 Accepted 50ms 6.918 MiB
#107 Accepted 119ms 6.984 MiB
#108 Accepted 81ms 6.934 MiB
#109 Accepted 236ms 25.289 MiB
#110 Accepted 369ms 25.242 MiB
#111 Accepted 245ms 25.254 MiB
#112 Accepted 425ms 25.191 MiB
#113 Accepted 156ms 25.215 MiB
#114 Accepted 177ms 25.273 MiB
#115 Accepted 146ms 25.191 MiB
#116 Time Exceeded (-9) ≥300ms ≥25.199 MiB
#117 Accepted 272ms 25.262 MiB
#118 Accepted 477ms 25.25 MiB
#119 Accepted 177ms 25.195 MiB
#120 Accepted 244ms 25.23 MiB
#121 Accepted 171ms 25.27 MiB
#122 Accepted 223ms 25.25 MiB
#123 Accepted 204ms 25.258 MiB
#124 Accepted 294ms 25.367 MiB
#125 Accepted 1038ms 98.816 MiB
#126 Accepted 1762ms 98.691 MiB
#127 Accepted 665ms 98.75 MiB
#128 Accepted 822ms 98.82 MiB
#129 Accepted 918ms 98.867 MiB
#130 Accepted 1506ms 98.754 MiB
#131 Accepted 1369ms 98.793 MiB
#132 Accepted 2557ms 99.121 MiB
#133 Accepted 1133ms 98.797 MiB
#134 Accepted 2017ms 98.781 MiB
#135 Accepted 1472ms 98.801 MiB
#136 Accepted 2899ms 99.133 MiB
#137 Accepted 1369ms 98.699 MiB
#138 Accepted 2670ms 98.875 MiB
#139 Accepted 602ms 98.82 MiB
#140 Accepted 725ms 98.656 MiB
#141 Accepted 2306ms 153.848 MiB
#142 Accepted 4424ms 154.004 MiB
#143 Accepted 1715ms 153.844 MiB
#144 Accepted 3048ms 153.926 MiB
#145 Accepted 1131ms 153.664 MiB
#146 Accepted 1478ms 153.703 MiB
#147 Accepted 1669ms 153.855 MiB
#148 Accepted 2892ms 153.984 MiB
#149 Accepted 2203ms 153.926 MiB
#150 Accepted 4169ms 154.062 MiB
#151 Accepted 1878ms 153.898 MiB
#152 Accepted 3378ms 153.977 MiB
#153 Accepted 1354ms 153.828 MiB
#154 Accepted 2053ms 154.008 MiB
#155 Accepted 2114ms 153.863 MiB
#156 Accepted 3724ms 154.117 MiB
#157 Accepted 1932ms 153.836 MiB
#158 Accepted 3409ms 154.035 MiB
#159 Accepted 2226ms 153.891 MiB
#160 Accepted 4363ms 154.059 MiB

Information

Submit By
Type
Submission
Homework
Lab05-PriorityQueues
Language
GNU Make
Submit At
2019-11-13 13:44:27
Judged At
2019-11-15 17:30:59
Judged By
Score
615
Total Time
≥82356ms
Peak Memory
≥154.117 MiB