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:104:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   for(int i=0;i<c.size();i++){
               ~^~~~~~~~~
main.cpp:118:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  for(int i=0;i<c.size();i++){
              ~^~~~~~~~~
main.cpp:165:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
    for(int i=0;i<e.size();i++){
                ~^~~~~~~~~
main.cpp:174:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
    for(int i=0;i<e.size();i++){
                ~^~~~~~~~~
main.cpp:185:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
      for(int i=0;i<eq.size();i++){
                  ~^~~~~~~~~~
main.cpp:195:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for(int i=0;i<eq.size();i++){
                 ~^~~~~~~~~~
main.cpp:198:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
      for(int j=0;j<market.size();j++){
                  ~^~~~~~~~~~~~~~
main.cpp:214:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
       for(int j=0;j<market.size();j++){
                   ~^~~~~~~~~~~~~~
main.cpp:233:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
    for(int i=0;i<market.size();i++){
                ~^~~~~~~~~~~~~~
main.cpp:256:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
    for(int i=0;i<market.size();i++){
                ~^~~~~~~~~~~~~~
main.cpp:267:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for(int i=0;i<selllist.size();i++){
                 ~^~~~~~~~~~~~~~~~
main.cpp:302:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
       for(int i=0;i<selllist.size();i++){
                   ~^~~~~~~~~~~~~~~~
main.cpp:354:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
    for(int i=0;i<market.size();i++){
                ~^~~~~~~~~~~~~~
main.cpp:362:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for(int i=0;i<buylist.size();i++){
                 ~^~~~~~~~~~~~~~~
main.cpp:398:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
       for(int i=0;i<buylist.size();i++){
                   ~^~~~~~~~~~~~~~~
main.cpp:441:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
    for(int i=0;i<e.size();i++){
                ~^~~~~~~~~
main.cpp:451:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
      for(int i=0;i<eq.size();i++){
                  ~^~~~~~~~~~
main.cpp:461:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for(int i=0;i<eq.size();i++){
                 ~^~~~~~~~~~
main.cpp:464:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
      for(int j=0;j<market.size();j++){
                  ~^~~~~~~~~~~~~~
main.cpp:480:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
       for(int j=0;j<market.size();j++){
                   ~^~~~~~~~~~~~~~
main.cpp:508:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   for(int i=0;i<ttt.size();i++){
               ~^~~~~~~~~~~
main.cpp:478:33: warning: 'ibuy' may be used uninitialized in this function [-Wmaybe-uninitialized]
       int highestbuy=market[ibuy]->price;
                                 ^
main.cpp:370:47: warning: 'buyid' may be used uninitialized in this function [-Wmaybe-uninitialized]
      if(temp->quantity >= market[buylist[buyid]]->quantity){
                                               ^
main.cpp:274:49: warning: 'sellid' may be used uninitialized in this function [-Wmaybe-uninitialized]
      if(temp->quantity >= market[selllist[sellid]]->quantity){
                                                 ^
main.cpp:212:33: warning: 'ibuy' may be used uninitialized in this function [-Wmaybe-uninitialized]
       int highestbuy=market[ibuy]->price;
                                 ^
g++ -g -Wall -O2 -o main main.o
finished

clean (3/3): 
finished

all task finished, build successfully
# Status Time Cost Memory Cost
#1 Runtime Error (-11) 2ms 504.0 KiB
#2 Runtime Error (-11) 2ms 444.0 KiB
#3 Runtime Error (-11) 2ms 440.0 KiB
#4 Runtime Error (-11) 2ms 456.0 KiB
#5 Runtime Error (-11) 13ms 1.094 MiB
#6 Wrong Answer 2ms 388.0 KiB
#7 Wrong Answer 2ms 448.0 KiB
#8 Wrong Answer 2ms 404.0 KiB
#9 Wrong Answer 2ms 380.0 KiB
#10 Wrong Answer 2ms 392.0 KiB
#11 Runtime Error (-11) 2ms 468.0 KiB
#12 Runtime Error (-11) 2ms 444.0 KiB
#13 Runtime Error (-11) 3ms 472.0 KiB
#14 Runtime Error (-11) 3ms 468.0 KiB
#15 Runtime Error (-11) 3ms 532.0 KiB
#16 Runtime Error (-11) 3ms 640.0 KiB
#17 Runtime Error (-11) 3ms 624.0 KiB
#18 Runtime Error (-11) 3ms 504.0 KiB
#19 Runtime Error (-11) 3ms 512.0 KiB
#20 Runtime Error (-11) 3ms 640.0 KiB
#21 Runtime Error (-11) 4ms 580.0 KiB
#22 Runtime Error (-11) 4ms 552.0 KiB
#23 Runtime Error (-11) 4ms 584.0 KiB
#24 Runtime Error (-11) 5ms 632.0 KiB
#25 Runtime Error (-11) 4ms 588.0 KiB
#26 Runtime Error (-11) 14ms 1.027 MiB
#27 Runtime Error (-11) 15ms 1.09 MiB
#28 Runtime Error (-11) 12ms 1016.0 KiB
#29 Runtime Error (-11) 12ms 1016.0 KiB
#30 Runtime Error (-11) 13ms 1.07 MiB
#31 Runtime Error (-11) 29ms 1.648 MiB
#32 Runtime Error (-11) 25ms 1.652 MiB
#33 Runtime Error (-11) 29ms 1.688 MiB
#34 Runtime Error (-11) 28ms 1.594 MiB
#35 Runtime Error (-11) 63ms 2.859 MiB
#36 Runtime Error (-11) 70ms 2.859 MiB
#37 Runtime Error (-11) 61ms 2.852 MiB
#38 Runtime Error (-11) 268ms 3.82 MiB
#39 Runtime Error (-11) 16013ms 3.98 MiB
#40 Runtime Error (-11) 16564ms 4.258 MiB
#41 Runtime Error (-11) 1406ms 23.586 MiB
#42 Time Exceeded (-9) ≥1303ms ≥21.801 MiB
#43 Time Exceeded (-9) ≥4102ms ≥50.309 MiB
#44 Time Exceeded (-9) ≥3104ms ≥37.406 MiB
#45 Time Exceeded (-9) ≥8306ms ≥67.738 MiB
#46 Time Exceeded (-9) ≥6501ms ≥54.34 MiB
#47 Runtime Error (-11) 3399ms 58.008 MiB
#48 Runtime Error (-11) 3408ms 57.996 MiB
#49 Time Exceeded (-9) ≥3105ms ≥52.539 MiB
#50 Runtime Error (-11) 2ms 444.0 KiB

Information

Submit By
Type
Submission
Homework
Project Four: Electronic Trading
Language
GNU Make
Submit At
2018-11-30 23:51:35
Judged At
2018-12-25 16:06:15
Judged By
Score
0
Total Time
67952ms
Peak Memory
67.738 MiB