Record Detail

Runtime Error

prepare (1/3): 
finished

make (2/3): 
g++ -g -Wall -o main.o -c main.cpp 
main.cpp: In function 'int main(int, char**)':
main.cpp:182:21: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
     char* optstring="vmptg:";
                     ^~~~~~~~
In file included from main.cpp:9:0:
binary_heap.h: In instantiation of 'TYPE binary_heap<TYPE, COMP>::dequeue_min() [with TYPE = instruction; COMP = compare_buy]':
main.cpp:303:56:   required from here
binary_heap.h:73:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for(int j=2*id;j<=data.size();j=2*id){
binary_heap.h:74:13: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         if(j<data.size()&&compare(data[j],data[j-1])){j++;}
binary_heap.h: In instantiation of 'TYPE binary_heap<TYPE, COMP>::dequeue_min() [with TYPE = instruction; COMP = compare_sell]':
main.cpp:310:57:   required from here
binary_heap.h:73:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for(int j=2*id;j<=data.size();j=2*id){
binary_heap.h:74:13: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         if(j<data.size()&&compare(data[j],data[j-1])){j++;}
g++ -g -Wall -o main main.o
finished

clean (3/3): 
finished

all task finished, build successfully
# Status Time Cost Memory Cost
#1 Accepted 1ms 448.0 KiB
#2 Accepted 2ms 404.0 KiB
#3 Accepted 2ms 404.0 KiB
#4 Accepted 2ms 384.0 KiB
#5 Time Exceeded (-9) ≥1002ms ≥2.074 MiB
#6 Accepted 2ms 380.0 KiB
#7 Accepted 2ms 376.0 KiB
#8 Accepted 2ms 380.0 KiB
#9 Accepted 2ms 404.0 KiB
#10 Accepted 2ms 392.0 KiB
#11 Accepted 2ms 404.0 KiB
#12 Accepted 2ms 384.0 KiB
#13 Accepted 3ms 492.0 KiB
#14 Accepted 2ms 456.0 KiB
#15 Accepted 2ms 448.0 KiB
#16 Accepted 4ms 508.0 KiB
#17 Accepted 8ms 620.0 KiB
#18 Accepted 11ms 612.0 KiB
#19 Accepted 4ms 512.0 KiB
#20 Accepted 5ms 616.0 KiB
#21 Accepted 8ms 788.0 KiB
#22 Accepted 25ms 816.0 KiB
#23 Accepted 20ms 772.0 KiB
#24 Accepted 6ms 692.0 KiB
#25 Accepted 12ms 764.0 KiB
#26 Accepted 38ms 1.406 MiB
#27 Accepted 705ms 1.492 MiB
#28 Accepted 263ms 1.41 MiB
#29 Accepted 32ms 1.406 MiB
#30 Accepted 186ms 1.375 MiB
#31 Accepted 89ms 2.348 MiB
#32 Accepted 6934ms 2.5 MiB
#33 Accepted 86ms 2.312 MiB
#34 Accepted 709ms 2.305 MiB
#35 Runtime Error (-11) 155ms 3.832 MiB
#36 Runtime Error (-11) 157ms 3.84 MiB
#37 Runtime Error (-11) 2438ms 3.832 MiB
#38 Runtime Error (-11) 2026ms 2.852 MiB
#39 Runtime Error (-11) 2025ms 2.883 MiB
#40 Runtime Error (-11) 3988ms 3.012 MiB
#41 Runtime Error (-11) 818ms 49.309 MiB
#42 Runtime Error (-11) 817ms 49.352 MiB
#43 Memory Exceeded (-11) ≥1338ms ≥64.0 MiB
#44 Memory Exceeded (-11) ≥1296ms ≥64.0 MiB
#45 Memory Exceeded (-11) ≥2623ms ≥128.0 MiB
#46 Memory Exceeded (-11) ≥2652ms ≥128.0 MiB
#47 Memory Exceeded (-11) ≥1332ms ≥64.0 MiB
#48 Memory Exceeded (-11) ≥1283ms ≥64.0 MiB
#49 Memory Exceeded (-11) ≥1284ms ≥64.0 MiB
#50 Accepted 2ms 388.0 KiB

Information

Submit By
Type
Submission
Homework
Project Four: Electronic Trading
Language
GNU Make
Submit At
2018-11-29 22:11:36
Judged At
2018-12-25 15:49:37
Judged By
Score
680
Total Time
34431ms
Peak Memory
128.0 MiB