Skip to main content
CrystalDocs

    Browse DocsCrystalShardsAbout

    github.com/hakatashi/ac-library.cr

    master

    Types

    • AtCoder
      • Convolution
      • DSU
      • DirectedGraph
      • FenwickTree
      • Graph
      • LazySegTree
      • Math
      • MaxFlow
        • Edge
      • MinCostFlow
      • ModInt1000000007
      • ModInt167772161
      • ModInt469762049
      • ModInt754974721
      • ModInt998244353
      • Prime
      • PriorityQueue
      • RedBlackTree
        • NilNode
        • Node
      • SCC
        • Adjacency
      • SegTree
      • SkewHeap
        • Node
      • String
      • Tree
      • TwoSat
        • NotSatisfiableError
      • UndirectedGraph
    • Int
    module

    AtCoder

    Macros

    static_modint(name, modulo)

    Implements atcoder::static_modint.

    AtCoder.static_modint(ModInt101, 101_i64)
    alias Mint = AtCoder::ModInt101
    Mint.new(80_i64) + Mint.new(90_i64) # => 89
    Source

    Nested types

    • AtCoder::Convolution
    • AtCoder::DSU
    • AtCoder::DirectedGraph(NodeInfo, EdgeInfo)
    • AtCoder::FenwickTree(T)
    • AtCoder::Graph(NodeInfo, EdgeInfo)
    • AtCoder::LazySegTree(S, F)
    • AtCoder::Math
    • AtCoder::MaxFlow
    • AtCoder::MinCostFlow
    • AtCoder::ModInt1000000007
    • AtCoder::ModInt167772161
    • AtCoder::ModInt469762049
    • AtCoder::ModInt754974721
    • AtCoder::ModInt998244353
    • AtCoder::Prime
    • AtCoder::PriorityQueue(T)
    • AtCoder::RedBlackTree
    • AtCoder::SCC
    • AtCoder::SegTree(T)
    • AtCoder::SkewHeap(T)
    • AtCoder::String
    • AtCoder::Tree(NodeInfo, EdgeInfo)
    • AtCoder::TwoSat
    • AtCoder::UndirectedGraph(NodeInfo, EdgeInfo)

    CrystalDocs.org - Crystal Shard Documentation Hosting

    GitHubCrystalShardsCrystal Language