Skip to content

Instantly share code, notes, and snippets.

@jleeothon
Created November 24, 2014 23:52
Show Gist options
  • Save jleeothon/759bc5a428b41a529f18 to your computer and use it in GitHub Desktop.
Save jleeothon/759bc5a428b41a529f18 to your computer and use it in GitHub Desktop.
Test an UVa problem written in C against sample input and compare with expected output
gcc "%1.c" -o "%1.o" && .\"%1.o" < "%1.in" > "%1.log" && fc "%1.log" "%1.out"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment