Problem paint
User Denzio321
Submission Time 2023-02-02 08:13:00
Score 0
Max Time N/A
Max Memory N/A

Compile Error

paint.cpp: In function ‘int main()’:
paint.cpp:24:23: error: expected ‘;’ before ‘for’
24 | total += add_list[i]
| ^
| ;
25 | for(int x = index;x<n;x++){
| ~~~
paint.cpp:25:21: error: ‘x’ was not declared in this scope
25 | for(int x = index;x<n;x++){
| ^