MCPcopy Create free account
hub / github.com/codemistic/Data-Structures-and-Algorithms / InverseEuler

Function InverseEuler

Python/CP_Templates.py:99–100  ·  view source on GitHub ↗
(n, MOD)

Source from the content-addressed store, hash-verified

97
98
99def InverseEuler(n, MOD):
100 return pow(n, MOD - 2, MOD)
101
102def nCk(n, k):
103 if(k > n - k):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected