Template for CP contests This template consists of plug and play implementations of classical algorithms and data structures. So far the list includes the following:
- Closest pair distance
- Trie
- Fast modular exponentiation
- Z Algorithm
- LCA using binary lifting