du6 - 22
This commit is contained in:
parent
92be9ce7d4
commit
f654def9d1
@ -104,13 +104,13 @@ int main() {
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
// skontrolovat prazdny riadok
|
/* // skontrolovat prazdny riadok
|
||||||
char buffer[SIZE];
|
char buffer[SIZE];
|
||||||
if (!fgets(buffer, SIZE, stdin) || strlen(buffer) > 1) {
|
if (!fgets(buffer, SIZE, stdin) || strlen(buffer) > 1) {
|
||||||
printf("Chybna databaza\n");
|
printf("Chybna databaza\n");
|
||||||
destroy_tree(root);
|
destroy_tree(root);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}*/
|
||||||
|
|
||||||
int leaves = count_leaves(root);
|
int leaves = count_leaves(root);
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user