Problem GSS
User Johnnie
Submission Time 2023-08-15 10:07:45
Score 0
Max Time N/A
Max Memory N/A

Compile Error

GSS.cpp: In function ‘int main()’:
GSS.cpp:12:3: error: ‘sum’ was not declared in this scope; did you mean ‘sum2’?
12 | sum += prices[i];
| ^~~
| sum2