summaryrefslogtreecommitdiff
path: root/content/math/binomial1.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'content/math/binomial1.cpp')
-rw-r--r--content/math/binomial1.cpp2
1 files changed, 1 insertions, 1 deletions
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;