Problem stepgame
User Teeskit
Submission Time 2025-08-24 15:07:51
Score 0
Max Time N/A
Max Memory N/A

Compile Error

stepgame.cpp: In function ‘int main()’:
stepgame.cpp:8:6: error: conflicting declaration ‘int presum [0]’
8 | int presum[0] = 0;
| ^~~~~~
stepgame.cpp:7:6: note: previous declaration as ‘int presum [(N + 1)]’
7 | int presum[N+1];
| ^~~~~~