Problem stepgame
User StormyGood
Submission Time 2024-12-09 15:43:08
Score 0
Max Time N/A
Max Memory N/A

Compile Error

stepgame.cpp: In function ‘int main()’:
stepgame.cpp:18:34: error: invalid types ‘int[int]’ for array subscript
18 | prefix[i] = prefix[i-1] + a[i-1];
| ^