Problem GSS
User Maskaphobia
Submission Time 2024-02-12 18:45:01
Score 0
Max Time N/A
Max Memory N/A

Compile Error

GSS.cpp: In function ‘int main()’:
GSS.cpp:15:25: error: ‘n’ was not declared in this scope
15 | for (int i = 0; i < n; i += 4) {
| ^
GSS.cpp:17:22: error: ‘prices’ was not declared in this scope
17 | total += prices[i + j];
| ^~~~~~