Aktualizovat du5/program.c

This commit is contained in:
Tomáš Vlček 2026-04-15 09:43:53 +00:00
parent 63c45f8e65
commit c319227755

View File

@ -36,7 +36,8 @@ int buildATree()
char *line = lines[indexLine];
indexLine += 1;
//pomocny index
int current = nodeCount += 1;
int current = nodeCount;
nodeCount += 1;
if (line[0] == '*') {
tree[current].isAnswer = true;