Problem treecutting
User Rolo
Submission Time 2024-10-04 18:08:17
Score 0
Max Time N/A
Max Memory N/A

Compile Error

treecutting.cpp: In function ‘int main()’:
treecutting.cpp:109:2: error: expected ‘,’ or ‘;’ before ‘for’
109 | for(int i = n;i>=0;i--)
| ^~~
treecutting.cpp:109:16: error: ‘i’ was not declared in this scope
109 | for(int i = n;i>=0;i--)
| ^