0_0_37846044_2647.cpp: In function 'void solve()': 0_0_37846044_2647.cpp:102:32: error: 'root' was not declared in this scope printf("%d\n", b[query(root[st - 1], root[ed], 1, nn, k)]); ^