Problem paint
User Henries
Submission Time 2024-09-30 23:30:39
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:5:18: error: expected primary-expression before ‘{’ token
5 | while (price != {}){
| ^
paint.cpp:5:17: error: expected ‘)’ before ‘{’ token
5 | while (price != {}){
| ~ ^~
| )
paint.cpp:5:20: error: expected primary-expression before ‘)’ token
5 | while (price != {}){
| ^
paint.cpp: In function ‘int main()’:
paint.cpp:26:21: error: expected ‘;’ before ‘}’ token
26 | solve(price,rates)
| ^
| ;
27 | }
| ~