diff --git a/du4/program b/du4/program index 6ac2ff8..b038d71 100755 Binary files a/du4/program and b/du4/program differ diff --git a/du4/program.c b/du4/program.c index eaecf7a..5e34b72 100644 --- a/du4/program.c +++ b/du4/program.c @@ -39,10 +39,7 @@ int main() { while (fgets(line, SIZE, stdin)) { char* end = NULL; int votes = strtol(line, &end, 10); - - if (votes <= 0 || *end != ' '){ - printf("Chyba: Nespravny format vstupu!\n"); - continue; + continue; } char name[SIZE];