automatically compile and checking answer all codes in the same directory
all codes have to lacate in the same directory with grade.sh
- /directory
- grade.sh
- input.txt
- answer.txt
- a.c
- b.java
- c.cpp
- d.py
- ...
./grade.sh
Or, getting more clear result:
./gread.sh > result.txt