impl. powmod

This commit is contained in:
2023-12-29 23:03:56 +01:00
parent 40b23f19d6
commit f0325ba6f5
2 changed files with 28 additions and 0 deletions

View File

@@ -62,6 +62,9 @@ N eulerphi(const N &x) {return eulerphi(factorization(x));}
template <typename N>
N pow(const N &x, N i);
template <typename N>
N powmod(const N &x, N i, const N &m);
}//namespace
#endif