Open ei1333 opened 1 year ago
ポラード・ロー素因数分解法(Pollard’s rho algorithm)
$O(N^{\frac 1 4})$ expected
src/math/primes/fast-prime-factorization.hpp
おれたちの $O(\sqrt{N})$
src/math/primes/prime-factorization.hpp
いる?これ
前計算 $O(N \log \log N)$
クエリあたり $O(\log N)$
src/math/primes/sieve-of-eratosthenes.hpp
$O(\sqrt N)$ のやつも欲しいかも
これは math/primes/~ ですかね
math/primes/~
高速素因数分解
Description
ポラード・ロー素因数分解法(Pollard’s rho algorithm)
$O(N^{\frac 1 4})$ expected
File Name
src/math/primes/fast-prime-factorization.hpp
TODO
note
153 のために必要
いつもの $O(\sqrt{N})$
Description
おれたちの $O(\sqrt{N})$
File Name
src/math/primes/prime-factorization.hpp
TODO
note
いる?これ
エラトステネスの篩を利用した素因数分解クエリ
Description
前計算 $O(N \log \log N)$
クエリあたり $O(\log N)$
File Name
src/math/primes/sieve-of-eratosthenes.hpp
TODO
note