ac-library.cr Run test and verifier Coverage

This is not an officially supported Google product.

ac-library.cr is a Crystal port of ac-library.

This library aims to provide the almost-equivalent (and additional) functionality with ac-library but in the manner of Crystal.

Installation

Add the following code to your project's shard.yml.

dependencies:
  atcoder:
    github: hakatashi/ac-library.cr
    branch: master

Usage

require "atcoder" # load all libraries
require "atcoder/fenwick_tree" # load FenwickTree

atcoder/mod_int (Implements <atcoder/modint>)

atcoder/fenwick_tree (Implements <atcoder/fenwicktree>)

atcoder/seg_tree (Implements <atcoder/segtree>)

atcoder/lazy_seg_tree (Implements <atcoder/lazysegtree>)

atcoder/string (Implements <atcoder/string>)

atcoder/dsu (Implements <atcoder/dsu>)

atcoder/max_flow (Implements <atcoder/maxflow>)

atcoder/scc (Impements <atcoder/scc>)

atcoder/two_sat (Implements <atcoder/twosat>)

atcoder/math (Implements <atcoder/math>)

atcoder/convolution (Implements <atcoder/convolution>)

atcoder/min_cost_flow (Implements <atcoder/mincostflow>)

atcoder/priority_queue (not in ACL)

atcoder/prime (not in ACL)