ZOYKUHot Board

priyansh19077/cp-templatesDocumentation

Here are my template codes for Competitive Programming with optimised implementations of various algorithms. I personally use them every day and have tested almost all of them in multiple competitive programming contests and practice problems

Table of Contents (2 sections)▾
Quick Install
git clone https://github.com/priyansh19077/cp-templates.git

CP Templates

A collection of competitive programming algorithm templates in C++. Each file is self-contained — copy any function directly into your solution without needing external boilerplate.

Contributing

See CONTRIBUTING.md for how to add new algorithms and tests.

Author

Priyansh Agarwal — YouTube Channel

Document mirror archived from official upstream repository · Visit upstream GitHub
Snapshot date: 2026-11-09