Problem paint
User rubyred
Submission Time 2024-02-20 16:10:19
Score 0
Max Time N/A
Max Memory N/A

Compile Error

paint.cpp: In function β€˜int main()’:
paint.cpp:19:39: error: expected primary-expression before β€˜)’ token
19 | total += p[i].first + (p[i].second*(i+));
| ^