2023-01-27から1日間の記事一覧

アルゴリズムと数学 013

https://atcoder.jp/contests/math-and-algorithm/tasks/math_and_algorithm_mナイーブに素因数分解して、あとは分割統治法的に約数を列挙します。 // Divisor Enumeration #![allow(non_snake_case)] //////////////////// library //////////////////// fn…