Record Detail

Accepted

prepare (1/3): 
finished

make (2/3): 
g++ -g -Wall -O2 -c HW4LINUX.cpp
HW4LINUX.cpp: In function 'int main(int, char**)':
HW4LINUX.cpp:124:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
  char * const short_options = "vmptg:";
                               ^~~~~~~~
HW4LINUX.cpp:346:10: warning: unused variable 'x1' [-Wunused-variable]
      int x1 = (*it).second.duration;
          ^~
HW4LINUX.cpp:347:10: warning: unused variable 'x2' [-Wunused-variable]
      int x2 = (*it).second.timeStamp;
          ^~
HW4LINUX.cpp:364:11: warning: unused variable 'x1' [-Wunused-variable]
       int x1 = (*it).second.duration;
           ^~
HW4LINUX.cpp:365:11: warning: unused variable 'x2' [-Wunused-variable]
       int x2 = (*it).second.timeStamp;
           ^~
HW4LINUX.cpp:173:6: warning: unused variable 'money_transfered_com_included' [-Wunused-variable]
  int money_transfered_com_included = 0;
      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
HW4LINUX.cpp:123:9: warning: unused variable 'ouput_opt_arg' [-Wunused-variable]
  char * ouput_opt_arg;
         ^~~~~~~~~~~~~
g++ -g -Wall -O2 -o main HW4LINUX.o
finished

clean (3/3): 
finished

all task finished, build successfully
# Status Time Cost Memory Cost
#1 Accepted 2ms 384.0 KiB
#2 Accepted 2ms 476.0 KiB
#3 Accepted 2ms 372.0 KiB
#4 Accepted 2ms 376.0 KiB
#5 Accepted 142ms 488.0 KiB

Information

Submit By
Type
Submission
Homework
Project Four: Electronic Trading
Language
GNU Make
Submit At
2018-11-29 11:28:50
Judged At
2018-11-29 11:28:50
Judged By
Score
25
Total Time
153ms
Peak Memory
488.0 KiB