Problem pushups
User Joashhh
Submission Time 2024-12-09 21:42:49
Score 0
Max Time N/A
Max Memory N/A

Compile Error

pushups.cpp: In function ‘std::vector<int> maxsum(std::vector<int>)’:
pushups.cpp:17:2: error: expected ‘,’ or ‘;’ before ‘for’
17 | for(int i=0; i<=n; i++){
| ^~~
pushups.cpp:17:15: error: ‘i’ was not declared in this scope
17 | for(int i=0; i<=n; i++){
| ^