Record Detail

Runtime Error

prepare (1/3): 
finished

make (2/3): 
g++ -g -Wall -O2 -o main.o -c main.cpp 
In file included from main.cpp:7:0:
order.h: In member function 'bool COMP::operator()(const string&, const string&) const':
order.h:44:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
    for(i = 0;i < a.length();i++){
              ~~^~~~~~~~~~~~
order.h:51:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
    for(i = 0;i < b.length();i++){
              ~~^~~~~~~~~~~~
main.cpp: In function 'int main(int, char**)':
main.cpp:227:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
      for(j = 0;j<market.size();j++){
                ~^~~~~~~~~~~~~~
main.cpp:231:13: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
      while(j<market.size()){     //have order for the equity?
            ~^~~~~~~~~~~~~~
main.cpp:351:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
       for(i = 0;i<market.size();i++){
                 ~^~~~~~~~~~~~~~
main.cpp:360:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
       for(i = 0;i<tempo.size();i++){
                 ~^~~~~~~~~~~~~
main.cpp:386:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   for(i = 0;i < market.size();i++){
             ~~^~~~~~~~~~~~~~~
main.cpp:415:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   for(i = 0; i<T3arg.size();i++){
              ~^~~~~~~~~~~~~
main.cpp: In function 'void printmark(std::vector<order>&)':
main.cpp:427:14: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  for(i = 0;i < orders.size();i++){
            ~~^~~~~~~~~~~~~~~
main.cpp: In function 'void printprice(std::vector<int>&)':
main.cpp:434:13: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  for(i = 0;i<p.size();i++){
            ~^~~~~~~~~
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 380.0 KiB
#2 Accepted 2ms 348.0 KiB
#3 Wrong Answer 2ms 404.0 KiB
#4 Wrong Answer 2ms 456.0 KiB
#5 Wrong Answer 427ms 1.262 MiB
#6 Accepted 2ms 380.0 KiB
#7 Accepted 2ms 384.0 KiB
#8 Accepted 2ms 380.0 KiB
#9 Wrong Answer 2ms 424.0 KiB
#10 Wrong Answer 2ms 384.0 KiB
#11 Wrong Answer 2ms 384.0 KiB
#12 Wrong Answer 2ms 444.0 KiB
#13 Wrong Answer 2ms 384.0 KiB
#14 Wrong Answer 2ms 424.0 KiB
#15 Wrong Answer 2ms 380.0 KiB
#16 Wrong Answer 8ms 552.0 KiB
#17 Wrong Answer 8ms 556.0 KiB
#18 Wrong Answer 9ms 564.0 KiB
#19 Wrong Answer 7ms 516.0 KiB
#20 Wrong Answer 7ms 564.0 KiB
#21 Wrong Answer 31ms 648.0 KiB
#22 Wrong Answer 32ms 652.0 KiB
#23 Wrong Answer 34ms 640.0 KiB
#24 Wrong Answer 31ms 736.0 KiB
#25 Wrong Answer 30ms 648.0 KiB
#26 Runtime Error (-11) 672ms 1.16 MiB
#27 Runtime Error (-11) 673ms 1.199 MiB
#28 Runtime Error (-11) 720ms 1.172 MiB
#29 Runtime Error (-11) 665ms 1.191 MiB
#30 Runtime Error (-11) 672ms 1.156 MiB
#31 Runtime Error (-11) 979ms 1.879 MiB
#32 Runtime Error (-11) 1053ms 1.867 MiB
#33 Runtime Error (-11) 1016ms 1.863 MiB
#34 Runtime Error (-11) 2251ms 1.875 MiB
#35 Time Exceeded (-9) ≥10000ms ≥3.266 MiB
#36 Time Exceeded (-9) ≥10004ms ≥3.309 MiB
#37 Time Exceeded (-9) ≥10000ms ≥3.262 MiB
#38 Wrong Answer 9017ms 3.445 MiB
#39 Wrong Answer 9008ms 3.449 MiB
#40 Wrong Answer 9106ms 3.789 MiB
#41 Time Exceeded (-9) ≥1704ms ≥22.512 MiB
#42 Time Exceeded (-9) ≥1304ms ≥22.586 MiB
#43 Time Exceeded (-9) ≥4100ms ≥44.625 MiB
#44 Time Exceeded (-9) ≥3103ms ≥44.652 MiB
#45 Time Exceeded (-9) ≥8302ms ≥88.781 MiB
#46 Time Exceeded (-9) ≥6503ms ≥88.742 MiB
#47 Runtime Error (-11) 3664ms 44.785 MiB
#48 Runtime Error (-11) 3625ms 44.629 MiB
#49 Time Exceeded (-9) ≥3102ms ≥44.609 MiB
#50 Accepted 3ms 496.0 KiB

Information

Submit By
Type
Submission
Homework
Project Four: Electronic Trading
Language
GNU Make
Submit At
2018-12-02 00:16:16
Judged At
2018-12-25 16:03:50
Judged By
Score
120
Total Time
101921ms
Peak Memory
88.781 MiB