Problem paint
User Henries
Submission Time 2024-09-30 23:42:56
Score 0
Max Time N/A
Max Memory N/A

Compile Error

paint.cpp: In function ‘void solve(std::vector<long long int>, std::vector<long long int>)’:
paint.cpp:8:24: error: expected ‘;’ before ‘rates’
8 | total += price[index]
| ^
| ;
9 | rates.erase(max);
| ~~~~~