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:472:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   for (ttt_it=0;ttt_it!=ttt.size();ttt_it++)  
                 ~~~~~~^~~~~~~~~~~~
main.cpp:500:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
       for(i=0;i<itr->second.trade_price.size();i++)
               ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp:503: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 Wrong Answer 2ms 440.0 KiB
#2 Wrong Answer 2ms 428.0 KiB
#3 Wrong Answer 2ms 460.0 KiB
#4 Wrong Answer 2ms 376.0 KiB
#5 Wrong Answer 85ms 556.0 KiB

Information

Submit By
Type
Submission
Homework
Project Four: Electronic Trading
Language
GNU Make
Submit At
2018-11-29 18:51:28
Judged At
2018-11-29 18:51:28
Judged By
Score
0
Total Time
95ms
Peak Memory
556.0 KiB