This is a repository for my personal competitive programming notebook.
The folder code
contains the c++ codes used by me in cp competitions.
Requires: python, latexmk and perl (required for LaTeX compilation).
Run the python script with $ python generate_pdf.py
, this script reads the contents of the notebook from contents.txt
, then generate contents.tex and run latexmk for compile notebook.tex to pdf.
The file contents.txt
contains the references to the sources codes. It has the following format:
# Optional comment
[Section Title]
[Filename within code directory][tab character \t][Subsection Title] # Optional comment
Example:
# C++ is the best
[C++]
c++/template.cpp C++ template # Just a simple template
This notebook was inspired by Stanford ICPC Notebook.