An open API service indexing awesome lists of open source software.

https://github.com/kyure-a/competitive-snippets

Snippets / Library for Competitive programming
https://github.com/kyure-a/competitive-snippets

atcoder competitive-programming cpp

Last synced: about 1 month ago
JSON representation

Snippets / Library for Competitive programming

Awesome Lists containing this project

README

          

# competitive-snippets

[![Actions Status](https://github.com/Kyure-A/competitive-snippets/workflows/verify/badge.svg)](https://github.com/Kyure-A/competitive-snippets/actions)
[![AtCoder](https://badgen.org/img/atcoder/kyre/rating/algorithm?style=flat)](https://atcoder.jp/users/kyre?contestType=algo)
[![GitHub Pages](https://img.shields.io/static/v1?label=GitHub+Pages&message=+&color=brightgreen&logo=github&style=flat)](https://kyure-a.github.io/competitive-snippets/)

## What is this?

Snippets / Library for Competitive programming (mainly AtCoder).

## What functions does this repository have?

- Mex
- Euclidean Distance
- stack DFS (Depth-First Search)
- BFS (Breadth-First Search)
- Dijkstra's Algorithm
- Unionfind (Disjoint Set Union)
- There are three types: one that can manage disjoint set of int, one that can manage disjoint set of pair (using map, which is slow and impractical), and one that can manage disjoint set of type T.
- Topological Sort

These exist in this repository. More will be added periodically.