Aktualizovat du5/program.c

This commit is contained in:
Tomáš Vlček 2026-04-15 11:08:31 +00:00
parent 91bc0a62a0
commit 96ef23574a

View File

@ -62,7 +62,7 @@ int buildATree()
//kontrola - jedna otazka musii mat dve deti (AK NIE vyhodi chybu) //kontrola - jedna otazka musii mat dve deti (AK NIE vyhodi chybu)
if (tree[current].yes == -1 || tree[current].no == -1) if (tree[current].yes == -1 || tree[current].no == -1)
{ {
treeIsBroken = true; isTreeBroken = true;
} }
return current; return current;