wrhrwj
This commit is contained in:
parent
71064e4d39
commit
6f6138c25f
@ -77,14 +77,13 @@ int main(void){
|
|||||||
char line[SIZE];
|
char line[SIZE];
|
||||||
|
|
||||||
|
|
||||||
while( fgets(line, sizeof(line), stdin)){
|
while( fgets(line, sizeof(line), stdin)){
|
||||||
line[strcspn(line, "\n")] = '\0';
|
if(strcmp(line, "\n\n") == 0){
|
||||||
if(line[0] == '\0'){
|
whitespace = true;
|
||||||
whitespace = true;
|
break;
|
||||||
break;
|
}
|
||||||
}
|
|
||||||
|
|
||||||
}
|
}
|
||||||
int numOfLeaves = count_leaves(tree);
|
int numOfLeaves = count_leaves(tree);
|
||||||
char answer[SIZE];
|
char answer[SIZE];
|
||||||
bool exs = false;
|
bool exs = false;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user