Problem potatotree
User duck
Submission Time 2024-12-22 12:12:03
Score 0
Max Time N/A
Max Memory N/A

Compile Error

potatotree.cpp: In function ‘int32_t main()’:
potatotree.cpp:10:1: error: expected initializer before ‘for’
10 | for(int i=0;i<n;i++){
| ^~~
potatotree.cpp:10:13: error: ‘i’ was not declared in this scope
10 | for(int i=0;i<n;i++){
| ^
potatotree.cpp:17:7: error: ‘u’ was not declared in this scope
17 | cout<<u[x-1];
| ^