From c414d9a3ab242b39dccedc49186c1aa1b8f3af7d Mon Sep 17 00:00:00 2001 From: e2002e Date: Mon, 7 Oct 2019 23:00:27 +0200 Subject: [PATCH] Update bfg.c --- bfg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bfg.c b/bfg.c index 068804a..2ff9f9f 100644 --- a/bfg.c +++ b/bfg.c @@ -195,7 +195,7 @@ int accu(int value) int i = 0; for(int a=1; a<=value; ++a) { - i+=a+1; + i+=a; } return i; }