pub fn factors_all(n: usize) -> Vec<Vec<usize>>
Expand description

約数列挙を行う

  • 1 ~ Nまでの数の約数を高速に列挙する
  • 時間計算量: $O(N \log\log N)$