cp_
library_
rs
0.3.19
In cp_
library_
rs::
number_
theory::
factors_
all
cp_library_rs
::
number_theory
::
factors_all
Function
factors_all
Copy item path
Source
pub fn factors_all(n:
usize
) ->
Vec
<
Vec
<
usize
>>
Expand description
約数列挙を行う
1 ~ N
までの数の約数を高速に列挙する
時間計算量: $
O(N \log\log N)
$