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

147 Stars 17 Forks Creative Commons Zero v1.0 Universal 69 Commits 5 Opened issues


Book Code for Competitive Programming

Services available


Need anything else?

Contributors list

# 294,323
69 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.