Problem more_lca2
User user123
Submission Time 2023-10-27 12:50:56
Score 0
Max Time N/A
Max Memory N/A

Compile Error

more_lca2.cpp: In function ‘void init()’:
more_lca2.cpp:42:22: error: ‘f’ was not declared in this scope
42 | st[a][b]=f(st[a][b-1], st[a+(1<<(b-1))][b-1]);
| ^
more_lca2.cpp: In function ‘int query(int, int)’:
more_lca2.cpp:51:12: error: ‘f’ was not declared in this scope
51 | return f(st[x][t], st[y-(1<<t)+1][t]);
| ^