Problem more_lca
User r1r2r3r4
Submission Time 2026-02-25 16:12:32
Score 0
Max Time N/A
Max Memory N/A

Compile Error

more_lca.cpp: In function ‘int findLCA(int, std::vector<int>)’:
more_lca.cpp:50:17: error: ‘minLCA’ was not declared in this scope; did you mean ‘findLCA’?
50 | if (a == b) minLCA = a; // b is an ancestor of a.
| ^~~~~~
| findLCA