Aktualizovat du5/program.c
This commit is contained in:
parent
1a517d4362
commit
ca7a7f6911
@ -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;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user