Record Detail

Wrong Answer

prepare (1/3): 
finished

make (2/3): 
g++ -g -Wall -c -O2 main.cpp 
main.cpp: In function 'int main(int, char**)':
main.cpp:46:7: warning: unused variable 'heapoption' [-Wunused-variable]
  char heapoption[10];
       ^~~~~~~~~~
In file included from main.cpp:4:0:
unsorted_heap.h: In instantiation of 'TYPE unsorted_heap<TYPE, COMP>::dequeue_min() [with TYPE = ma; COMP = main(int, char**)::compare_t]':
main.cpp:185:1:   required from here
unsorted_heap.h:78:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  for (i = 0; i < data.size(); i++)
unsorted_heap.h: In instantiation of 'const TYPE& unsorted_heap<TYPE, COMP>::get_min() const [with TYPE = ma; COMP = main(int, char**)::compare_t]':
main.cpp:185:1:   required from here
unsorted_heap.h:92:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  for (i = 0; i < data.size(); i++)
In file included from main.cpp:1:0:
binary_heap.h: In instantiation of 'TYPE binary_heap<TYPE, COMP>::dequeue_min() [with TYPE = ma; COMP = main(int, char**)::compare_t]':
main.cpp:185:1:   required from here
binary_heap.h:90:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  while (2 * now <= data.size())
binary_heap.h:93:11: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   if (next<data.size())
g++ -g -Wall -o main main.o
finished

clean (3/3): 
finished

all task finished, build successfully
# Status Time Cost Memory Cost
#1 Accepted 2ms 792.0 KiB
#2 Accepted 2ms 728.0 KiB
#3 Accepted 2ms 552.0 KiB
#4 Accepted 3ms 664.0 KiB
#5 Accepted 3ms 600.0 KiB
#6 Accepted 3ms 732.0 KiB
#7 Accepted 2ms 716.0 KiB
#8 Accepted 2ms 772.0 KiB
#9 Accepted 3ms 644.0 KiB
#10 Accepted 3ms 636.0 KiB
#11 Accepted 3ms 728.0 KiB
#12 Accepted 3ms 716.0 KiB
#13 Accepted 3ms 660.0 KiB
#14 Accepted 3ms 720.0 KiB
#15 Accepted 4ms 616.0 KiB
#16 Accepted 3ms 812.0 KiB
#17 Accepted 5ms 752.0 KiB
#18 Accepted 5ms 752.0 KiB
#19 Wrong Answer 3ms 700.0 KiB
#20 Wrong Answer 3ms 736.0 KiB
#21 Wrong Answer 3ms 616.0 KiB
#22 Wrong Answer 3ms 812.0 KiB
#23 Wrong Answer 4ms 656.0 KiB
#24 Wrong Answer 3ms 676.0 KiB
#25 Accepted 2ms 660.0 KiB
#26 Accepted 2ms 760.0 KiB
#27 Accepted 3ms 736.0 KiB
#28 Accepted 4ms 764.0 KiB
#29 Accepted 3ms 724.0 KiB
#30 Accepted 3ms 644.0 KiB
#31 Accepted 3ms 816.0 KiB
#32 Accepted 3ms 736.0 KiB
#33 Accepted 3ms 792.0 KiB
#34 Accepted 3ms 904.0 KiB
#35 Accepted 3ms 692.0 KiB
#36 Accepted 4ms 760.0 KiB
#37 Accepted 6ms 988.0 KiB
#38 Accepted 14ms 976.0 KiB
#39 Accepted 5ms 896.0 KiB
#40 Accepted 15ms 968.0 KiB
#41 Accepted 6ms 904.0 KiB
#42 Accepted 16ms 968.0 KiB
#43 Wrong Answer 4ms 852.0 KiB
#44 Wrong Answer 9ms 952.0 KiB
#45 Wrong Answer 4ms 932.0 KiB
#46 Wrong Answer 10ms 892.0 KiB
#47 Wrong Answer 5ms 932.0 KiB
#48 Wrong Answer 10ms 1.055 MiB
#49 Accepted 4ms 1004.0 KiB
#50 Accepted 8ms 1.008 MiB
#51 Accepted 4ms 932.0 KiB
#52 Accepted 8ms 1016.0 KiB
#53 Accepted 5ms 976.0 KiB
#54 Accepted 8ms 920.0 KiB
#55 Wrong Answer 4ms 984.0 KiB
#56 Wrong Answer 4ms 928.0 KiB
#57 Wrong Answer 3ms 756.0 KiB
#58 Wrong Answer 4ms 868.0 KiB
#59 Wrong Answer 4ms 1.02 MiB
#60 Wrong Answer 4ms 956.0 KiB
#61 Accepted 9ms 1.602 MiB
#62 Accepted 29ms 1.723 MiB
#63 Accepted 12ms 1.641 MiB
#64 Accepted 33ms 1.652 MiB
#65 Accepted 12ms 1.816 MiB
#66 Accepted 32ms 1.688 MiB
#67 Wrong Answer 7ms 1.676 MiB
#68 Wrong Answer 11ms 1.742 MiB
#69 Wrong Answer 7ms 1.574 MiB
#70 Wrong Answer 11ms 1.754 MiB
#71 Wrong Answer 7ms 1.734 MiB
#72 Wrong Answer 11ms 1.68 MiB
#73 Accepted 8ms 1.598 MiB
#74 Accepted 26ms 1.629 MiB
#75 Accepted 12ms 1.598 MiB
#76 Accepted 29ms 1.812 MiB
#77 Accepted 12ms 1.711 MiB
#78 Accepted 29ms 1.805 MiB
#79 Wrong Answer 11ms 1.688 MiB
#80 Wrong Answer 39ms 1.68 MiB
#81 Wrong Answer 16ms 1.727 MiB
#82 Wrong Answer 41ms 1.77 MiB
#83 Wrong Answer 19ms 1.648 MiB
#84 Wrong Answer 54ms 1.73 MiB
#85 Accepted 25ms 6.805 MiB
#86 Accepted 26ms 6.777 MiB
#87 Accepted 28ms 6.758 MiB
#88 Accepted 61ms 6.859 MiB
#89 Accepted 202ms 6.812 MiB
#90 Accepted 102ms 6.746 MiB
#91 Accepted 41ms 6.812 MiB
#92 Accepted 142ms 6.781 MiB
#93 Accepted 67ms 6.844 MiB
#94 Wrong Answer 32ms 6.777 MiB
#95 Wrong Answer 54ms 6.746 MiB
#96 Wrong Answer 41ms 6.863 MiB
#97 Accepted 44ms 6.766 MiB
#98 Accepted 105ms 6.73 MiB
#99 Accepted 68ms 6.836 MiB
#100 Accepted 57ms 6.836 MiB
#101 Accepted 211ms 6.758 MiB
#102 Accepted 100ms 6.777 MiB
#103 Accepted 29ms 6.746 MiB
#104 Accepted 46ms 6.742 MiB
#105 Accepted 37ms 6.766 MiB
#106 Accepted 44ms 6.766 MiB
#107 Accepted 113ms 6.711 MiB
#108 Accepted 69ms 6.875 MiB
#109 Wrong Answer 188ms 25.309 MiB
#110 Wrong Answer 301ms 25.25 MiB
#111 Wrong Answer 198ms 25.23 MiB
#112 Wrong Answer 343ms 25.18 MiB
#113 Accepted 105ms 25.258 MiB
#114 Accepted 130ms 25.191 MiB
#115 Accepted 105ms 25.199 MiB
#116 Accepted 120ms 25.152 MiB
#117 Accepted 240ms 25.172 MiB
#118 Accepted 460ms 25.18 MiB
#119 Wrong Answer 153ms 25.16 MiB
#120 Wrong Answer 185ms 25.223 MiB
#121 Wrong Answer 122ms 25.137 MiB
#122 Wrong Answer 166ms 25.184 MiB
#123 Accepted 151ms 25.273 MiB
#124 Accepted 242ms 25.25 MiB
#125 Wrong Answer 801ms 98.746 MiB
#126 Wrong Answer 1372ms 98.891 MiB
#127 Wrong Answer 459ms 98.781 MiB
#128 Wrong Answer 569ms 98.719 MiB
#129 Wrong Answer 717ms 98.898 MiB
#130 Wrong Answer 1163ms 98.898 MiB
#131 Accepted 1088ms 98.93 MiB
#132 Accepted 1958ms 99.02 MiB
#133 Accepted 888ms 98.891 MiB
#134 Accepted 1547ms 98.879 MiB
#135 Wrong Answer 1190ms 98.965 MiB
#136 Wrong Answer 2231ms 99.008 MiB
#137 Accepted 1080ms 98.773 MiB
#138 Accepted 2047ms 98.941 MiB
#139 Wrong Answer 411ms 98.707 MiB
#140 Wrong Answer 484ms 98.746 MiB
#141 Wrong Answer 1841ms 154.039 MiB
#142 Wrong Answer 3402ms 154.141 MiB
#143 Wrong Answer 1326ms 154.23 MiB
#144 Wrong Answer 2307ms 154.148 MiB
#145 Wrong Answer 775ms 153.875 MiB
#146 Wrong Answer 1055ms 153.91 MiB
#147 Accepted 1303ms 154.016 MiB
#148 Accepted 2180ms 154.023 MiB
#149 Wrong Answer 1758ms 153.996 MiB
#150 Wrong Answer 3286ms 154.156 MiB
#151 Accepted 1420ms 153.996 MiB
#152 Accepted 2570ms 154.047 MiB
#153 Accepted 958ms 154.02 MiB
#154 Accepted 1460ms 154.105 MiB
#155 Accepted 1617ms 153.957 MiB
#156 Accepted 2900ms 154.117 MiB
#157 Accepted 1503ms 153.984 MiB
#158 Accepted 2657ms 154.031 MiB
#159 Accepted 1786ms 153.969 MiB
#160 Accepted 3393ms 154.082 MiB

Information

Submit By
Type
Submission
Homework
Lab05-PriorityQueues
Language
GNU Make
Submit At
2019-11-09 00:21:16
Judged At
2019-11-15 16:29:56
Judged By
Score
505
Total Time
63284ms
Peak Memory
154.23 MiB