From 621c3fff32981a7e377e7c740056c99b6b185f85 Mon Sep 17 00:00:00 2001 From: Weber Date: Wed, 28 Feb 2024 10:06:56 +0000 Subject: [PATCH] skuska --- cv2/program.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cv2/program.c b/cv2/program.c index 32e3a41..354185c 100644 --- a/cv2/program.c +++ b/cv2/program.c @@ -15,7 +15,7 @@ int main() { } if (count == 0) { printf("Chyba: Málo platných hodnôt.\n"); - return 1; + return 0; } for (int i = 0; i < count; i++) { printf("Súťažiaci č. %d vypil %d pohárov.\n", i+1, results[i]);