We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3280008 commit d1e06c4Copy full SHA for d1e06c4
cp-algo/number_theory/factorize.hpp
@@ -5,7 +5,6 @@
5
#include <generator>
6
namespace cp_algo::math {
7
// https://en.wikipedia.org/wiki/Pollard%27s_rho_algorithm
8
-
9
auto proper_divisor(uint64_t m) {
10
using base = dynamic_modint<>;
11
return m % 2 == 0 ? 2 : base::with_mod(m, [&]() {
0 commit comments