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:
- Use a template. Here is mine. Save it as template.cpp:
- Save this script as solve.sh in the same directory as above:
- All done!
Whenever you’re ready to begin coding a solution, simply execute
All the best!