From 58be3612823936f85258241528d2973adf213011 Mon Sep 17 00:00:00 2001 From: Gloria Mundi Date: Fri, 14 Nov 2025 14:41:29 +0100 Subject: rename calc_binom() to binom() --- content/math/binomial3.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'content/math/binomial3.cpp') 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; -- cgit v1.2.3