Download this by running
git clone https://github.com/elopez/competition-boilerplate.git competition
or, if Git is unavailable,
wget -q -O- https://github.com/elopez/competition-boilerplate/archive/master.tar.gz | tar xz
When the contest starts and you know how many problems there are, run the following to create a file for each problem:
make UPTO=k
When you finish programming a problem, run the following to compile its code
make a
To clean the current directory a bit, you can run:
make clean
This will delete object files and binaries