MCPcopy Create free account
hub / github.com/E869120/math-algorithm-book / Division

Function Division

codes/cpp/Code_4_06_6.cpp:18–20  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

16}
17
18long long Division(long long a, long long b, long long m) {
19 return (a * modpow(b, m - 2, m)) % m;
20}
21
22long long ncr(int n, int r) {
23 // ncr �� n! �� r! �~ (n-r)! �Ŋ������l

Callers 1

ncrFunction · 0.70

Calls 1

modpowFunction · 0.70

Tested by

no test coverage detected