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:218:16: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
  char *strin = "mptg:v";
                ^~~~~~~~
main.cpp:217:6: warning: unused variable 'optind' [-Wunused-variable]
  int optind;
      ^~~~~~
main.cpp: In function 'Client antisearchid(int, std::priority_queue<Client, std::vector<Client>, antipricecomp>)':
main.cpp:188:1: warning: control reaches end of non-void function [-Wreturn-type]
 }//no &
 ^
main.cpp: In function 'Client searchid(int, std::priority_queue<Client, std::vector<Client>, pricecomp>)':
main.cpp:202:1: warning: control reaches end of non-void function [-Wreturn-type]
 }//no &
 ^
main.cpp: In function 'int main(int, char**)':
main.cpp:1385:43: warning: 'netvalue' may be used uninitialized in this function [-Wmaybe-uninitialized]
                                  netvalue = netvalue - temp.quantity*temp.price;
                                  ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp:1329:13: warning: 'exp' may be used uninitialized in this function [-Wmaybe-uninitialized]
         exp = exp + temp.exptime;
         ~~~~^~~~~~~~~~~~~~~~~~~~
main.cpp:1189:83: warning: 'a' may be used uninitialized in this function [-Wmaybe-uninitialized]
          cout<<"Median match price of "<<tempname<<" at time "<<ctstp<<" is $"<<(a+b)/2<<endl;
                                                                                 ~~^~~
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 408.0 KiB
#2 Accepted 2ms 380.0 KiB
#3 Accepted 2ms 480.0 KiB
#4 Accepted 2ms 380.0 KiB
#5 Time Exceeded (-9) ≥1002ms ≥2.469 MiB
#6 Accepted 2ms 388.0 KiB
#7 Accepted 2ms 384.0 KiB
#8 Accepted 2ms 424.0 KiB
#9 Accepted 2ms 384.0 KiB
#10 Accepted 2ms 384.0 KiB
#11 Accepted 3ms 508.0 KiB
#12 Accepted 3ms 540.0 KiB
#13 Accepted 7ms 500.0 KiB
#14 Accepted 3ms 512.0 KiB
#15 Wrong Answer 3ms 520.0 KiB
#16 Accepted 75ms 1.066 MiB
#17 Accepted 75ms 1.039 MiB
#18 Accepted 152ms 1.164 MiB
#19 Accepted 60ms 980.0 KiB
#20 Wrong Answer 60ms 992.0 KiB
#21 Accepted 756ms 2.152 MiB
#22 Accepted 654ms 2.078 MiB
#23 Accepted 951ms 2.305 MiB
#24 Accepted 593ms 2.016 MiB
#25 Wrong Answer 594ms 2.035 MiB
#26 Time Exceeded (-9) ≥1003ms ≥2.594 MiB
#27 Time Exceeded (-9) ≥1001ms ≥2.602 MiB
#28 Time Exceeded (-9) ≥1000ms ≥2.426 MiB
#29 Time Exceeded (-9) ≥1003ms ≥2.555 MiB
#30 Time Exceeded (-9) ≥1004ms ≥2.543 MiB
#31 Time Exceeded (-9) ≥10002ms ≥8.156 MiB
#32 Time Exceeded (-9) ≥10003ms ≥7.879 MiB
#33 Time Exceeded (-9) ≥10002ms ≥10.824 MiB
#34 Time Exceeded (-9) ≥10000ms ≥10.727 MiB
#35 Time Exceeded (-9) ≥10000ms ≥7.98 MiB
#36 Time Exceeded (-9) ≥10007ms ≥7.586 MiB
#37 Time Exceeded (-9) ≥10011ms ≥7.555 MiB
#38 Accepted 16649ms 4.16 MiB
#39 Accepted 16498ms 4.156 MiB
#40 Wrong Answer 17591ms 5.09 MiB
#41 Time Exceeded (-9) ≥1701ms ≥3.215 MiB
#42 Time Exceeded (-9) ≥1301ms ≥2.969 MiB
#43 Time Exceeded (-9) ≥4103ms ≥4.402 MiB
#44 Time Exceeded (-9) ≥3106ms ≥4.18 MiB
#45 Time Exceeded (-9) ≥8305ms ≥6.016 MiB
#46 Time Exceeded (-9) ≥6500ms ≥5.73 MiB
#47 Time Exceeded (-9) ≥4205ms ≥11.293 MiB
#48 Time Exceeded (-9) ≥4306ms ≥11.027 MiB
#49 Time Exceeded (-9) ≥3105ms ≥9.676 MiB
#50 Accepted 2ms 388.0 KiB

Information

Submit By
Type
Submission
Homework
Project Four: Electronic Trading
Language
GNU Make
Submit At
2018-12-01 11:54:48
Judged At
2018-12-25 15:58:19
Judged By
Score
480
Total Time
≥167439ms
Peak Memory
≥11.293 MiB