scripts/spoj

5 lines
82 B
Bash
Executable File

#!/bin/bash
problem=$1
g++ $1.cpp -o $1; ./$1 < $1.IN > $1.OUT
diff $1.TXT $1.OUT