test
This commit is contained in:
parent
5a57e2edca
commit
5af880c796
@ -9,7 +9,7 @@ int main() {
|
|||||||
char uloha[MAX_LINE_LENGTH];
|
char uloha[MAX_LINE_LENGTH];
|
||||||
|
|
||||||
while (fgets(uloha, MAX_LINE_LENGTH, stdin) != NULL) {
|
while (fgets(uloha, MAX_LINE_LENGTH, stdin) != NULL) {
|
||||||
if (strlen(uloha) <= 1) {
|
if (strlen(uloha) == 1 && uloha[0] == '\n') {
|
||||||
printf("OK\n");
|
printf("OK\n");
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user