Priyansh19077/CP-Templates resource
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 observed · 2026-08-28
Health v2 · maintenance only
69/100
- Activity 81
- Release rhythm 35
- Longevity 100
Flags: no_releases no_license
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 2266
- days_rel: n/a
- days_push: 114
- n_releases_24m: 0
Adoption not part of the score
1094 stars · 421 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A collection of self-contained C++ template implementations of algorithms for competitive programming. The author uses and tests them in contests and practice problems.
Use cases
- find optimized C++ implementations of algorithms for contests
- copy-paste algorithm templates into competitive programming solutions
- prepare for coding competitions with tested code snippets
- reference implementations of common data structures and algorithms
When to choose
- you compete in contests using C++ and want ready-made algorithm snippets
- you want self-contained functions without external boilerplate
When to avoid
- you need a production library with package management and licensing
- you work in a language other than C++
Facets
learning-resource · maturity active
developer-tools education cpp competitive-programming templates algorithms
1 source
- readme: https://github.com/Priyansh19077/CP-Templates · fetched 2026-08-28 · 0f923eeec727
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| Priyansh19077/CP-Templates | main | 69 |
For agents
markdown · JSON · MCP: product_card(name="Priyansh19077/CP-Templates")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem