This commit is contained in:
Weber 2024-03-28 17:59:02 +00:00
parent 5af880c796
commit acb7c789a1

View File

@ -1,7 +1,6 @@
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include <string.h>
#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;
}