Skip to content

Instantly share code, notes, and snippets.

@tanzaku
Created January 2, 2018 11:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tanzaku/8108328f252b30bf1b43ca3ff015cd7c to your computer and use it in GitHub Desktop.
Save tanzaku/8108328f252b30bf1b43ca3ff015cd7c to your computer and use it in GitHub Desktop.
find ../testcase_generator/testcase/ -name '*.in' | parallel "cat < {} | ./target/release/solver > ./result/{/.}.out"
find ../testcase_generator/testcase/ -name '*.in' | parallel -k "../problem1_toolkit_JP/scripts/score_evaluator.out {} ./result/{/.}.out" > result.txt
find ../testcase_generator/testcase/ -name '*.in' | parallel "echo {/.}" > list.txt
# find ../testcase_generator/testcase/ -name '*.in' | parallel -k "echo {/.}" > list.txt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment