From e55df069a8f83b2c0c2b56c035f49e89516cdaaa Mon Sep 17 00:00:00 2001 From: Gloria Mundi Date: Sat, 16 Nov 2024 17:48:10 +0100 Subject: minor fixes, let code breathe where possible --- content/math/binomial1.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'content/math/binomial1.cpp') diff --git a/content/math/binomial1.cpp b/content/math/binomial1.cpp index dab20b3..d0fce18 100644 --- a/content/math/binomial1.cpp +++ b/content/math/binomial1.cpp @@ -1,7 +1,7 @@ ll calc_binom(ll n, ll k) { if (k > n) return 0; ll r = 1; - for (ll d = 1; d <= k; d++) {// Reihenfolge => Teilbarkeit + for (ll d = 1; d <= k; d++) { // Reihenfolge => Teilbarkeit r *= n--, r /= d; } return r; -- cgit v1.2.3