1
This commit is contained in:
parent
cc1b5146f9
commit
f396159878
@ -81,8 +81,9 @@ int main() {
|
|||||||
Tree* root = read_tree();
|
Tree* root = read_tree();
|
||||||
|
|
||||||
if (!root) {
|
if (!root) {
|
||||||
printf("Chyba: nepodarilo sa načítať bázu pravidiel.\n");
|
printf("Expert z bufetu to vie.\n");
|
||||||
return 1;
|
printf("Chybna databaza\n");
|
||||||
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
int count = count_leaves(root);
|
int count = count_leaves(root);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user