Record Detail

Accepted

prepare (1/3): 
finished

make (2/3): 
g++ -g -Wall -O3 -o p4.o -c p4.cpp 
In file included from p4.cpp:16:0:
utility.h: In function 'bool find_match(equity*, order*, bool, bool, int*, int*, int*, int*, std::map<std::__cxx11::basic_string<char>, transfer>*)':
utility.h:128:12: warning: unused variable 'erase_it1' [-Wunused-variable]
       bool erase_it1=0;
            ^~~~~~~~~
utility.h:200:12: warning: unused variable 'erase_it1' [-Wunused-variable]
       bool erase_it1=0;
            ^~~~~~~~~
p4.cpp: In function 'int main(int, char**)':
p4.cpp:210:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         for(int i=1;i<(it1->second.match_price.size()/2);i++){
                     ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
p4.cpp:219:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
        for(int i=1;i<((it1->second.match_price.size()+1)/2);i++){
                    ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
p4.cpp:287:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         for(int i=1;i<(it1->second.match_price.size()/2);i++){
                     ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
p4.cpp:296:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
        for(int i=1;i<((it1->second.match_price.size()+1)/2);i++){
                    ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
g++ -g -Wall -O3 -o main p4.o
finished

clean (3/3): 
finished

all task finished, build successfully
# Status Time Cost Memory Cost
#1 Accepted 2ms 372.0 KiB
#2 Accepted 2ms 376.0 KiB
#3 Accepted 2ms 376.0 KiB
#4 Accepted 2ms 388.0 KiB
#5 Accepted 145ms 532.0 KiB

Information

Submit By
Type
Submission
Homework
Project Four: Electronic Trading
Language
GNU Make
Submit At
2018-11-30 23:16:38
Judged At
2018-11-30 23:16:38
Judged By
Score
25
Total Time
155ms
Peak Memory
532.0 KiB