Skip to content
Snippets Groups Projects
Commit 65167d79 authored by Florin Postolache's avatar Florin Postolache
Browse files
parent abaa7cf6
No related branches found
No related tags found
No related merge requests found
Pipeline #68224 passed
......@@ -5,7 +5,7 @@ check_one() {
./functional < in/$1.in > out/$1.out
if cmp --silent -- out/$1.out ref/$1.ref; then
printf "Test %02d ................. PASSED: 1.5p\n" $1
TASK=$(($TASK + 1))
TASKS=$(($TASKS + 1))
else
printf "Test %02d ................. FAILED: 0.0p\n" $1
fi
......@@ -16,7 +16,7 @@ check_one() {
for i in $(seq 1 19); do
check_one $i
done
printf "\nTASK BONUS SCORE: %.2f / 30.00\n\n" $(echo "scale=2; $TASK*1.5" | bc)
printf "\nTASK BONUS SCORE: %.2f / 30.00\n\n" $(echo "scale=2; $TASKS*1.5" | bc)
#else
# check_one $1
#fi
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment