This commit is contained in:
Matej Hajduk 2025-11-12 14:53:24 +01:00
parent cc1b5146f9
commit f396159878

View File

@ -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);