USACO setup

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 in the same directory as above:
  3. All done! Whenever you’re ready to begin coding a solution, simply execute ./ PROBLEM_NAME

All the best!

comments powered by Disqus