Aktualizovat du5/program.c

This commit is contained in:
Tomáš Vlček 2026-04-15 10:04:39 +00:00
parent 1a517d4362
commit ca7a7f6911

View File

@ -120,7 +120,7 @@ int main()
//zisk. korena
int root = buildATree();
if (root == -1)
if (tree[root].yes == -1 && tree[root].no == -1)
{
printf("Koniec vstupu.\n");
return 0;