Problem ancestor
User ethantanaki
Submission Time 2026-11-25 10:54:10
Score 0
Max Time N/A
Max Memory N/A

Compile Error

ancestor.cpp: In function ‘int query(int, int)’:
ancestor.cpp:16:8: error: ‘N’ was not declared in this scope
16 | if(k>=N) return -1;
| ^