dirckvdende / competition-reference

A reference document that can be used in programming competitions
MIT License
1 stars 2 forks source link
aho-corasick competitive-programming competitive-programming-reference dijkstra dsu fenwick-tree geometry icpc interval-tree k-d-tree kmp max-flow prim reference rolling-hash-functions segment-tree sparse-table stable-matching-problem topological-sort trie

Programming competition reference document

This document contains useful algorithms to use during a programming competition, in a compact format. Before using this check:

How to compile and customize

The reference document can be compiled with LaTeX from the main.tex file. Note that you may need to install extra LaTeX packages when generating the file yourself. The minted package is required.

To modify the names and other specific information, edit the config.tex file. The logo displayed on the front page can be changed by changing the logo.png file. If you want to change the content of the reference document, change the content.tex file, which contains most of the text in the document. The main.tex file contains package information, configurations, and the front page content.