USACO setup

March 28, 2016

USACO is fun. Though it is fairly easy to get up and running on the platform, there remain a few repetitive steps during problem solving that can be automated. Here is a brief summary of my automation steps:

  1. Use a template. Here is mine. Save it as template.cpp:
  2. Save this script as solve.sh in the same directory as above:
  3. All done! Whenever you’re ready to begin coding a solution, simply execute ./solve.sh PROBLEM_NAME

All the best!


comments powered by Disqus