From fc9031adbd7d7cca9c7a39670dba25868afae610 Mon Sep 17 00:00:00 2001 From: Fabrice Date: Wed, 10 Dec 2025 09:50:33 +0100 Subject: [PATCH] =?UTF-8?q?In=20Main=20Z.74=20ge=C3=A4ndert?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.c b/main.c index 4034716..669652f 100644 --- a/main.c +++ b/main.c @@ -71,7 +71,7 @@ int main(int argc, char *argv[]) userInput = inputNumber("Welche Zahl kommt doppelt vor: "); measuredSeconds = stopTimer(); - duplicate = getDuplicate(numbers, numberOfElements+1); + duplicate = getDuplicate(numbers, numberOfElements); // check result and update highscores if(userInput == duplicate)