Problem bigbinarytree
User PlayVoltz
Submission Time 2025-02-04 17:55:16
Score 0
Max Time N/A
Max Memory N/A

Compile Error

bigbinarytree.cpp: In function ‘int32_t main()’:
bigbinarytree.cpp:54:2: error: ‘else’ without a previous ‘if’
54 | else for (int i=2; i<=n; ++i)cout<<ans[i]<<" ";
| ^~~~