Record Detail

Wrong Answer

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:232:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   for (i = 1; i < e.size(); i++)
               ~~^~~~~~~~~~
main.cpp:234:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   for (i = 1; i < f.size(); i++)
               ~~^~~~~~~~~~
main.cpp:262:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
       for(i=0;i<itr->second.trade_price.size();i++)
               ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp:265:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
        for(j=i;j<itr->second.trade_price.size();j++)
                ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp:487:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   for (ttt_it=0;ttt_it!=ttt.size();ttt_it++)  
                 ~~~~~~^~~~~~~~~~~~
main.cpp:515:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
       for(i=0;i<itr->second.trade_price.size();i++)
               ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp:518:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
        for(j=i;j<itr->second.trade_price.size();j++)
                ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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 428.0 KiB
#2 Accepted 2ms 384.0 KiB
#3 Accepted 2ms 376.0 KiB
#4 Accepted 2ms 428.0 KiB
#5 Wrong Answer 611ms 616.0 KiB

Information

Submit By
Type
Submission
Homework
Project Four: Electronic Trading
Language
GNU Make
Submit At
2018-11-29 19:22:21
Judged At
2018-11-29 19:22:22
Judged By
Score
20
Total Time
622ms
Peak Memory
616.0 KiB