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:121:31: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
      if(vec_temp_2->timestamp2=-1){
         ~~~~~~~~~~~~~~~~~~~~~~^~~
main.cpp:190:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     while(size!=med.size()){
           ~~~~^~~~~~~~~~~~
main.cpp:79:98: warning: unused variable 'test' [-Wunused-variable]
  int sell_key=0,buy_key=0,time=0,trade=0,shares=0,money=0,commission=0,current_timestamp,count=0,test;
                                                                                                  ^~~~
main.cpp:88:6: warning: variable 'time_out' set but not used [-Wunused-but-set-variable]
  int time_out;
      ^~~~~~~~
g++ -g -Wall -O2 -o main main.o
finished

clean (3/3): 
finished

all task finished, build successfully
# Status Time Cost Memory Cost
#1 Wrong Answer 2ms 444.0 KiB
#2 Wrong Answer 2ms 480.0 KiB
#3 Wrong Answer 2ms 456.0 KiB
#4 Wrong Answer 2ms 384.0 KiB
#5 Runtime Error (-6) 3ms 472.0 KiB
#6 Accepted 2ms 388.0 KiB
#7 Accepted 2ms 384.0 KiB
#8 Wrong Answer 2ms 380.0 KiB
#9 Wrong Answer 2ms 404.0 KiB
#10 Wrong Answer 2ms 456.0 KiB
#11 Wrong Answer 2ms 384.0 KiB
#12 Wrong Answer 3ms 396.0 KiB
#13 Wrong Answer 3ms 392.0 KiB
#14 Wrong Answer 2ms 384.0 KiB
#15 Wrong Answer 2ms 380.0 KiB
#16 Time Exceeded (-9) ≥1005ms ≥404.0 KiB
#17 Time Exceeded (-9) ≥1003ms ≥564.0 KiB
#18 Time Exceeded (-9) ≥1000ms ≥500.0 KiB
#19 Time Exceeded (-9) ≥1003ms ≥552.0 KiB
#20 Time Exceeded (-9) ≥1000ms ≥516.0 KiB
#21 Time Exceeded (-9) ≥1003ms ≥384.0 KiB
#22 Time Exceeded (-9) ≥1001ms ≥520.0 KiB
#23 Time Exceeded (-9) ≥1000ms ≥532.0 KiB
#24 Time Exceeded (-9) ≥1003ms ≥424.0 KiB
#25 Time Exceeded (-9) ≥1005ms ≥504.0 KiB
#26 Runtime Error (-6) 5ms 528.0 KiB
#27 Time Exceeded (-9) ≥1005ms ≥524.0 KiB
#28 Time Exceeded (-9) ≥1006ms ≥528.0 KiB
#29 Runtime Error (-6) 5ms 568.0 KiB
#30 Runtime Error (-6) 6ms 568.0 KiB
#31 Runtime Error (-6) 6ms 412.0 KiB
#32 Runtime Error (-6) 10ms 564.0 KiB
#33 Runtime Error (-6) 3ms 504.0 KiB
#34 Runtime Error (-6) 5ms 504.0 KiB
#35 Runtime Error (-6) 6ms 504.0 KiB
#36 Runtime Error (-6) 3ms 492.0 KiB
#37 Runtime Error (-6) 5ms 516.0 KiB
#38 Runtime Error (-6) 3ms 456.0 KiB
#39 Runtime Error (-6) 3ms 444.0 KiB
#40 Runtime Error (-6) 8ms 1.938 MiB
#41 Runtime Error (-6) 4ms 476.0 KiB
#42 Runtime Error (-6) 3ms 500.0 KiB
#43 Runtime Error (-6) 4ms 492.0 KiB
#44 Runtime Error (-6) 4ms 512.0 KiB
#45 Runtime Error (-6) 17ms 648.0 KiB
#46 Runtime Error (-6) 20ms 720.0 KiB
#47 Time Exceeded (-9) ≥4203ms ≥504.0 KiB
#48 Time Exceeded (-9) ≥4305ms ≥648.0 KiB
#49 Time Exceeded (-9) ≥3102ms ≥696.0 KiB
#50 Accepted 4ms 384.0 KiB

Information

Submit By
Type
Submission
Homework
Project Four: Electronic Trading
Language
GNU Make
Submit At
2018-12-01 20:00:53
Judged At
2018-12-25 16:05:07
Judged By
Score
60
Total Time
23827ms
Peak Memory
1.938 MiB