Math Utilities ============= Number-theoretic helpers used throughout competitive programming: modular arithmetic, combinatorics, and the like. Rust Implementation ------------------- .. rust-api:: math :description: Modular binomial coefficients (``nCr mod p``) and other number-theoretic helpers. .. literalinclude:: ../../math/src/lib.rs :language: rust :linenos: