# Priyansh19077/CP-Templates

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

Repository: https://github.com/Priyansh19077/CP-Templates
Canonical: https://ross.abutalabs.com/products/cp-templates
Language: C++
License Family: other
Topics: cplusplus, competitive-programming, template
Last push: 2026-05-11T07:46:32+00:00

## Health v2 (maintenance only)
Score: 69/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 81, release rhythm 35, longevity 100
- inputs: {"age_days": 2266, "days_push": 114, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases, no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1094, forks 421 (observed 2026-08-28T04:03:33.940380+00:00)

## What it is
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
- artifact type: learning-resource
- maturity: active
- function: developer-tools
- domain: education
- platform: cpp
- tags: competitive-programming, templates, algorithms

## Member repositories
- Priyansh19077/CP-Templates (main) score 69

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:33.940380+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T06:47:27.665633+00:00, confidence not recorded.
  - readme: https://github.com/Priyansh19077/CP-Templates (fetched 2026-08-28T04:03:33.940380+00:00, sha 0f923eeec727)
- Data as of 2026-08-30T08:39:29.467469+00:00.
