Problem candles
User asbx
Submission Time 2023-11-24 09:52:12
Score 0
Max Time N/A
Max Memory N/A

Compile Error

candles.cpp: In function ‘int main()’:
candles.cpp:27:14: error: no match for call to ‘(std::vector<int>) (int&)’
27 | sum+=neg(j);
| ^
candles.cpp:30:23: error: no match for call to ‘(std::vector<int>) (int&)’
30 | sum+=pos(j);
| ^