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]; char *line = lines[indexLine];
indexLine += 1; indexLine += 1;
//pomocny index //pomocny index
int current = nodeCount += 1; int current = nodeCount;
nodeCount += 1;
if (line[0] == '*') { if (line[0] == '*') {
tree[current].isAnswer = true; tree[current].isAnswer = true;