ecnerwala / cp-book

Book Code for Competitive Programming
Creative Commons Zero v1.0 Universal
550 stars 64 forks source link

ecnerwala's CP Book

This is my library of reference code for competitive programming. The goal is to write generic, fast, and clean algorithm implementations for use in contests like CodeForces or ICPC.

Building

Build using

cmake -B build
cmake --build build

Test with

ctest --test-dir build

License and Attribution

All code in this book is written by me and CC0 licensed unless otherwise noted in the file. Inspiration is largely drawn from KACTL (https://github.com/kth-competitive-programming/kactl/) and other references.