Problem | roadsideadverts |
---|---|
User | user123 |
Submission Time | 2023-09-20 13:17:30 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
roadsideadverts.cpp:12:10: error: ‘L’ was not declared in this scope
12 | ll st[N][L], lg[N];
| ^
roadsideadverts.cpp: In constructor ‘lca::lca()’:
roadsideadverts.cpp:24:17: error: ‘st’ was not declared in this scope; did you mean ‘std’?
24 | st[a][b]=f(st[a][b-1], st[a+(1<<(b-1))][b-1]);
| ^~
| std
roadsideadverts.cpp: In member function ‘void lca::dfs(int)’:
roadsideadverts.cpp:31:9: error: ‘st’ was not declared in this scope; did you mean ‘std’?
31 | st[i][0]=u;
| ^~
| std
roadsideadverts.cpp: In member function ‘ll lca::query(int, int)’:
roadsideadverts.cpp:48:18: error: ‘st’ was not declared in this scope; did you mean ‘std’?
48 | return f(st[x][t], st[y-(1<<t)+1][t]);
| ^~
| std
roadsideadverts.cpp: In function ‘int main()’:
roadsideadve