/cp-library

My implementation of some algorithms and data structures for use in competitive programming. None of this code was meant to be pretty, it was meant to be as short, fast, and easy-to-use as (reasonably) possible.

Primary LanguageC++

cp-library

This repository contains my implementation of some algorithms and data structures for use in competitive programming.

These codes were written mostly by myself, taking some inspiration from Ecnerwala's CP Book, KACTL and everything Racsosabe taught me.

Note: Most of the codes in the tree and data structures sections I don't actually use myself and are there just for the sake of completion or as references (this is also the reason why these sections are fairly empty and not so well-written). I usually just hand-write them when I need them anyways.