This commit is contained in:
Weber 2024-03-28 17:56:47 +00:00
parent 5a57e2edca
commit 5af880c796

View File

@ -9,7 +9,7 @@ int main() {
char uloha[MAX_LINE_LENGTH];
while (fgets(uloha, MAX_LINE_LENGTH, stdin) != NULL) {
if (strlen(uloha) <= 1) {
if (strlen(uloha) == 1 && uloha[0] == '\n') {
printf("OK\n");
continue;
}