InfiniteCoder/apgw

View on GitHub
src/main/resources/c-script.sh

Summary

Maintainability
Test Coverage
#!/usr/bin/env bash
result=0
gcc ./*.c
./a.out < input > actualoutput
if cmp actualoutput output 1> /dev/null 2> /dev/null
then
    result=$((result + 10))
fi
echo ${result}