diff --git a/a1/program.c b/a1/program.c index e64b6ec..b0dd4f1 100644 --- a/a1/program.c +++ b/a1/program.c @@ -1,7 +1,6 @@ #include #include #include -#include #define MAX_LINE_LENGTH 100 @@ -9,8 +8,7 @@ int main() { char uloha[MAX_LINE_LENGTH]; while (fgets(uloha, MAX_LINE_LENGTH, stdin) != NULL) { - if (strlen(uloha) == 1 && uloha[0] == '\n') { - printf("OK\n"); + if (uloha[0] == '\n') { continue; }