Problem more_lca
User StewartStudios
Submission Time 2025-12-30 13:04:15
Score 0
Max Time N/A
Max Memory N/A

Compile Error

more_lca.cpp: In function ‘int lca(int, int)’:
more_lca.cpp:55:9: error: declaration of ‘int x’ shadows a parameter
55 | int x = sparse_table[k][l];
| ^
more_lca.cpp:56:9: error: declaration of ‘int y’ shadows a parameter
56 | int y = sparse_table[k][r - (1 << k) + 1];
| ^