diff --git a/resources/images/professor-ubuntu/server/getValueAndTime_c.sh b/resources/images/professor-ubuntu/server/getValueAndTime_c.sh index edb26cb..8106f1b 100644 --- a/resources/images/professor-ubuntu/server/getValueAndTime_c.sh +++ b/resources/images/professor-ubuntu/server/getValueAndTime_c.sh @@ -4,9 +4,11 @@ start=`date +%s.%N` /usr/bin/gcc $1 -o $2/test.out $2/test.out > $2/values.txt +/usr/bin/rm -rf $2/test.out finish=`date +%s.%N` -diff=$( echo "$finish - $start" | bc -l ) -/usr/bin/echo $diff > $2/time.txt \ No newline at end of file +# diff=$( echo "$finish - $start" | bc -l ) +# /usr/bin/echo $diff > $2/time.txt +/usr/bin/echo "" > $2/time.txt \ No newline at end of file diff --git a/resources/images/professor-ubuntu/server/getValueAndTime_cpp.sh b/resources/images/professor-ubuntu/server/getValueAndTime_cpp.sh index e1d1976..745dba5 100644 --- a/resources/images/professor-ubuntu/server/getValueAndTime_cpp.sh +++ b/resources/images/professor-ubuntu/server/getValueAndTime_cpp.sh @@ -4,9 +4,11 @@ start=`date +%s.%N` /usr/bin/g++ -o $2/test $1 $2/test > $2/values.txt +/usr/bin/rm -rf $2/test finish=`date +%s.%N` -diff=$( echo "$finish - $start" | bc -l ) -/usr/bin/echo $diff > $2/time.txt \ No newline at end of file +# diff=$( echo "$finish - $start" | bc -l ) +# /usr/bin/echo $diff > $2/time.txt +/usr/bin/echo "" > $2/time.txt \ No newline at end of file diff --git a/resources/images/professor-ubuntu/server/getValueAndTime_python.sh b/resources/images/professor-ubuntu/server/getValueAndTime_python.sh index 88fc386..8cade3a 100644 --- a/resources/images/professor-ubuntu/server/getValueAndTime_python.sh +++ b/resources/images/professor-ubuntu/server/getValueAndTime_python.sh @@ -7,5 +7,6 @@ start=`date +%s.%N` finish=`date +%s.%N` -diff=$( echo "$finish - $start" | bc -l ) -/usr/bin/echo $diff > $2/time.txt \ No newline at end of file +# diff=$( echo "$finish - $start" | bc -l ) +# /usr/bin/echo $diff > $2/time.txt +/usr/bin/echo "" > $2/time.txt \ No newline at end of file