This commit is contained in:
Vadym Afanasiev 2026-03-05 01:02:59 +00:00
parent d249e90015
commit 0435c4e01d

View File

@ -20,7 +20,7 @@ if(fgets(line, sizeof(line), stdin) == NULL) {
if (sscanf(line, "%lf", &x) != 1) {
printf("Nepodarilo sa nacitat zaklad x\n");
return 1;
return 0;
}
while (fgets(line, sizeof(line), stdin) != NULL)