Need help with cp-book?
Click the “chat” button below for chat support from the developer who created it, or find similar developers for support.

About the developer

259 Stars 40 Forks Creative Commons Zero v1.0 Universal 92 Commits 6 Opened issues


Book Code for Competitive Programming

Services available


Need anything else?

Contributors list

# 247,659
92 commits

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.

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 ( and other references.

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.