A curated C++ template library for competitive programming (ICPC / Codeforces / 蓝桥杯), designed for fast review and real contests. Each of the 42 templates is labelled with an official practice problem (e.g. Dijkstra → Luogu P3371) so you can read the code, understand the notes, submit, and AC — learn and verify in one loop.
•
1 min read
CP Templates — Competitive Programming Library
42 templates · 85%+ coverage · every algorithm with a practice problem
- C++
- Algorithms
- Data Structures