Problem videogames
User boaznumberd5555
Submission Time 2024-12-30 17:55:48
Score 0
Max Time N/A
Max Memory N/A

Compile Error

videogames.cpp: In function ‘int32_t main()’:
videogames.cpp:15:6: error: conflicting declaration ‘long long int yeypre [n]’
15 | int yeypre[n] = 0;
| ^~~~~~
videogames.cpp:14:6: note: previous declaration as ‘long long int yeypre [(n + 1)]’
14 | int yeypre[n+1];
| ^~~~~~
videogames.cpp:16:6: error: conflicting declaration ‘long long int pre [n]’
16 | int pre[n] = 0;
| ^~~
videogames.cpp:13:6: note: previous declaration as ‘long long int pre [(n + 1)]’
13 | int pre[n+1];
| ^~~