summaryrefslogtreecommitdiff
path: root/content/math/binomial3.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'content/math/binomial3.cpp')
-rw-r--r--content/math/binomial3.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/content/math/binomial3.cpp b/content/math/binomial3.cpp
index 7a6ab4e..8a51dac 100644
--- a/content/math/binomial3.cpp
+++ b/content/math/binomial3.cpp
@@ -1,4 +1,4 @@
-ll calc_binom(ll n, ll k, ll p) {
+ll binom(ll n, ll k, ll p) {
assert(n < p); //wichtig: sonst falsch!
if (k > n) return 0;
ll x = k % 2 != 0 ? p-1 : 1;