Problem pigeonnests
User Sans12345
Submission Time 2023-02-26 12:07:07
Score 0
Max Time N/A
Max Memory N/A

Compile Error

pigeonnests.cpp: In function ‘int main()’:
pigeonnests.cpp:99:16: error: ‘nest’ was not declared in this scope; did you mean ‘best’?
99 | if(nest != -1) update(0,N-1,0,1,st[nest],ed[nest]);
| ^~~~
| best
pigeonnests.cpp:100:21: error: ‘nest’ was not declared in this scope; did you mean ‘best’?
100 | cout << nest << '\n';
| ^~~~
| best