Crate simple_mod_int

Source
Expand description

§simple-mod-int

競技プログラミングのための基本的な剰余演算ライブラリです。

§特徴

  • 四則演算、逆元、累乗をサポート
  • i64に変換可能な型との四則演算をサポート
  • 代入時や指数指定時の負の数をサポート

A basic modular arithmetic library for competitive programming.

§Features

  • Basic arithmetic operations, multiplicative inverse, and exponentiation support
  • Supports arithmetic operations with any type that can be converted to i64
  • Handles negative numbers in assignments and exponents

Modules§

test

Structs§

Mod