Record Detail

Runtime Error

prepare (1/3): 
finished

make (2/3): 
g++ -g -Wall -O2 -c HW4LINUX.cpp
HW4LINUX.cpp: In function 'int main(int, char**)':
HW4LINUX.cpp:137:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
  char * const short_options = "vmptg:";
                               ^~~~~~~~
HW4LINUX.cpp:185:6: warning: unused variable 'money_transfered_com_included' [-Wunused-variable]
  int money_transfered_com_included = 0;
      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
HW4LINUX.cpp:136: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 Runtime Error (-6) 3ms 468.0 KiB
#2 Runtime Error (-6) 2ms 420.0 KiB
#3 Runtime Error (-6) 3ms 468.0 KiB
#4 Runtime Error (-6) 2ms 468.0 KiB
#5 Runtime Error (-6) 3ms 480.0 KiB

Information

Submit By
Type
Submission
Homework
Project Four: Electronic Trading
Language
GNU Make
Submit At
2018-11-29 17:01:18
Judged At
2018-11-29 17:01:18
Judged By
Score
0
Total Time
14ms
Peak Memory
480.0 KiB