ACM-ICPC Handbook
This repository hosts a 25 page notebook which acts as reference material for ACM-ICPC onsite contests The code is borrowed from the stanford's repository for their ACM-ICPC teams. It can be visited at this link.
Generating team notebook
The included Python scripts can generate the notebook in PDF format. Script reads the contents of the notebook from contents.txt
.
PDF version
Requires: Python 2/3, latexmk
Script for generating the PDF file is generate_pdf.py
. The script requires latexmk package.
The LaTeX template that the script uses is notebook.tex
. It recognizes common file extensions for C/C++/Java/Python and applies syntax highlighting. In order to change the color scheme or add additional languages, both notebook.tex
and generate_pdf.py
should be modified accordingly.
PDF can be generated manually by compiling notebook.tex
after running generate_pdf.py