Function montmort

Source
pub fn montmort(n: usize, m: u64) -> Vec<u64>
Expand description

長さ0からnまでの完全順列の個数を列挙する。

Time complexity $O(n)$