From 5086cdc1914221d601a239d582413a68b9edff79 Mon Sep 17 00:00:00 2001 From: Miloslav Macko Date: Mon, 15 Apr 2024 22:21:34 +0200 Subject: [PATCH] 12111 --- cv10/program.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cv10/program.c b/cv10/program.c index 0102a02..f43c4df 100644 --- a/cv10/program.c +++ b/cv10/program.c @@ -19,7 +19,7 @@ int main() { int max_students; if (scanf("%d\n", &max_students) != 1 || max_students <= 0) { puts("Nespravny vstup"); - return 1; + return 0; // Change this to return 0 } char line[SIZE]; @@ -46,7 +46,7 @@ int main() { if (pocet_mien_v_poli == 0) { puts("Ziadne prihlasky"); - return 1; + return 0; // Change this to return 0 } // Triedenie