Problem penguinfood
User crazy0215
Submission Time 2026-11-27 11:53:27
Score 0
Max Time N/A
Max Memory N/A

Compile Error

penguinfood.cpp: In function ‘int main()’:
penguinfood.cpp:46:26: error: expected ‘;’ before ‘for’
46 | root=new node(0, n-1)
| ^
| ;
47 | for (int i=0; i<n; i++) {
| ~~~
penguinfood.cpp:47:19: error: ‘i’ was not declared in this scope
47 | for (int i=0; i<n; i++) {
| ^