Problem paint
User JhoCyber
Submission Time 2024-12-28 10:33:45
Score 0
Max Time N/A
Max Memory N/A

Compile Error

paint.cpp: In function ‘int32_t main()’:
paint.cpp:36:18: error: expected initializer before ‘+=’ token
36 | int total+=sorted_price_inc[i]+sorted_price[i];
| ^~
paint.cpp:38:13: error: ‘total’ was not declared in this scope
38 | cout << total;
| ^~~~~