Problem pigeonnests
User AJR
Submission Time 2022-12-26 15:44:05
Score 0
Max Time N/A
Max Memory N/A

Compile Error

In file included from /usr/include/c++/9/cassert:44,
from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:33,
from pigeonnests.cpp:1:
pigeonnests.cpp: In function ‘int32_t main()’:
pigeonnests.cpp:96:30: error: ‘idx’ was not declared in this scope; did you mean ‘index’?
96 | assert(postorder[idx] < N);
| ^~~
pigeonnests.cpp:111:30: error: ‘idx’ was not declared in this scope; did you mean ‘index’?
111 | assert(postorder[idx] < N);
| ^~~