# Dev-XYS/Algorithms

全面的算法代码仓库

Repository: https://github.com/Dev-XYS/Algorithms
Canonical: https://ross.abutalabs.com/products/dev-xys-algorithms
Language: C++
License: Unlicense
License Family: permissive
Topics: algorithms
Last push: 2020-10-03T19:24:52+00:00

## Health v2 (maintenance only)
Score: 32/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 3681, "days_push": 2160, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1160, forks 436 (observed 2026-08-28T04:03:49.035402+00:00)

## What it is
A comprehensive collection of algorithm and data structure implementations written in C++, covering graph algorithms, sorting, number theory, string matching, trees, and more. All code is released under The Unlicense, making it freely usable as reference material for study and competitive programming.

## Use cases
- learning classic algorithms with C++ example code
- preparing for competitive programming contests like the IOI
- looking up reference implementations of graph algorithms like Dijkstra or Dinic
- finding data structure implementations such as Fenwick trees, segment trees, and link-cut trees
- copying public-domain algorithm snippets into personal projects
- studying number theory routines like fast exponentiation and modular inverse

## When to choose
- you want public-domain (Unlicense) C++ algorithm code with no licensing restrictions
- you are studying for informatics olympiad or interview preparation
- you need a broad index of classic algorithms from graph theory to computational geometry

## When to avoid
- you need a production-ready, well-tested algorithm library with guarantees of correctness
- you want algorithms in a language other than C++
- you need actively maintained code with frequent updates and releases

## Facets
- artifact type: learning-resource
- maturity: maintenance
- function: developer-tools
- domain: education, programming-languages
- platform: cpp, cross-platform
- tags: competitive-programming, data-structures, cpp, reference-code, unlicense, algorithms

## Member repositories
- Dev-XYS/Algorithms (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:49.035402+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:31:46.155080+00:00, confidence not recorded.
  - readme: https://github.com/Dev-XYS/Algorithms (fetched 2026-08-28T04:03:49.035402+00:00, sha c467376a7706)
- Data as of 2026-08-30T08:39:29.467469+00:00.
