Record Detail

Runtime Error

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:385:21: warning: unused variable 'alltradecount' [-Wunused-variable]
                 int alltradecount[countmediannames];
                     ^~~~~~~~~~~~~
main.cpp:540:17: warning: unused variable 'alltradecount' [-Wunused-variable]
             int alltradecount[countmediannames];
                 ^~~~~~~~~~~~~
main.cpp:645:81: warning: for increment expression has no effect [-Wunused-value]
             for (iter = availablebuyers.begin(); iter != availablebuyers.end(); iter) {
                                                                                 ^~~~
main.cpp:657:83: warning: for increment expression has no effect [-Wunused-value]
             for (iter = availablesellers.begin(); iter != availablesellers.end(); iter) {
                                                                                   ^~~~
main.cpp:1286:17: warning: unused variable 'timestamp1' [-Wunused-variable]
             int timestamp1 = -1;
                 ^~~~~~~~~~
main.cpp:1287:17: warning: unused variable 'timestamp2' [-Wunused-variable]
             int timestamp2 = -1;
                 ^~~~~~~~~~
main.cpp:101:9: warning: unused variable 'opterr' [-Wunused-variable]
     int opterr = 0;
         ^~~~~~
main.cpp:102:9: warning: unused variable 'digit_optind' [-Wunused-variable]
     int digit_optind = 0;
         ^~~~~~~~~~~~
main.cpp:169:10: warning: unused variable 'changetime' [-Wunused-variable]
     bool changetime = 0;
          ^~~~~~~~~~
main.cpp:194:9: warning: unused variable 'a' [-Wunused-variable]
     int a;
         ^
main.cpp:195:9: warning: unused variable 'b' [-Wunused-variable]
     int b;
         ^
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 572.0 KiB
#2 Accepted 5ms 528.0 KiB
#3 Accepted 3ms 536.0 KiB
#4 Accepted 2ms 504.0 KiB
#5 Runtime Error (-11) 57ms 1.312 MiB
#6 Accepted 2ms 508.0 KiB
#7 Accepted 2ms 508.0 KiB
#8 Wrong Answer 2ms 508.0 KiB
#9 Accepted 2ms 508.0 KiB
#10 Accepted 2ms 516.0 KiB
#11 Accepted 2ms 512.0 KiB
#12 Accepted 2ms 604.0 KiB
#13 Wrong Answer 3ms 504.0 KiB
#14 Accepted 2ms 552.0 KiB
#15 Accepted 2ms 512.0 KiB
#16 Accepted 3ms 652.0 KiB
#17 Accepted 8ms 756.0 KiB
#18 Wrong Answer 7ms 732.0 KiB
#19 Accepted 4ms 656.0 KiB
#20 Wrong Answer 3ms 660.0 KiB
#21 Runtime Error (-11) 4ms 768.0 KiB
#22 Runtime Error (-11) 10ms 776.0 KiB
#23 Runtime Error (-11) 8ms 752.0 KiB
#24 Runtime Error (-11) 3ms 756.0 KiB
#25 Runtime Error (-11) 4ms 744.0 KiB
#26 Runtime Error (-11) 4ms 760.0 KiB
#27 Runtime Error (-11) 15ms 752.0 KiB
#28 Runtime Error (-11) 12ms 764.0 KiB
#29 Runtime Error (-11) 4ms 756.0 KiB
#30 Runtime Error (-11) 4ms 760.0 KiB
#31 Runtime Error (-11) 3ms 760.0 KiB
#32 Runtime Error (-11) 16ms 760.0 KiB
#33 Runtime Error (-11) 3ms 760.0 KiB
#34 Runtime Error (-11) 4ms 748.0 KiB
#35 Runtime Error (-11) 4ms 760.0 KiB
#36 Runtime Error (-11) 3ms 768.0 KiB
#37 Runtime Error (-11) 4ms 808.0 KiB
#38 Runtime Error (-11) 5ms 876.0 KiB
#39 Runtime Error (-11) 5ms 816.0 KiB
#40 Runtime Error (-11) 9ms 1.129 MiB
#41 Runtime Error (-11) 4ms 768.0 KiB
#42 Runtime Error (-11) 4ms 712.0 KiB
#43 Runtime Error (-11) 4ms 656.0 KiB
#44 Runtime Error (-11) 4ms 720.0 KiB
#45 Runtime Error (-11) 4ms 776.0 KiB
#46 Runtime Error (-11) 6ms 784.0 KiB
#47 Runtime Error (-11) 6ms 776.0 KiB
#48 Runtime Error (-11) 8ms 760.0 KiB
#49 Runtime Error (-11) 5ms 740.0 KiB
#50 Accepted 2ms 504.0 KiB

Information

Submit By
Type
Submission
Homework
Project Four: Electronic Trading
Language
GNU Make
Submit At
2018-11-30 11:52:33
Judged At
2018-12-25 15:58:58
Judged By
Score
320
Total Time
311ms
Peak Memory
1.312 MiB