Skip to content

Instantly share code, notes, and snippets.

@KPCCoiL
Created December 14, 2014 02:33
Show Gist options
  • Save KPCCoiL/81c6955c4054f97c2bea to your computer and use it in GitHub Desktop.
Save KPCCoiL/81c6955c4054f97c2bea to your computer and use it in GitHub Desktop.
#!/bin/bash
#script for JOI qualifier
#usege : ./runner.sh exec_name problemnumber
BINNNAME=$1
PROBLEMID=$2
for i in `seq 1 5`; do
INPUTNAME="2015-yo-t$PROBLEMID-in$i.txt"
cat $INPUTNAME | ./$BINNNAME > out$PROBLEMID-$i.txt
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment