test
This commit is contained in:
parent
5af880c796
commit
acb7c789a1
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user