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