Problem bestplace
User Joashhh
Submission Time 2024-11-20 17:35:48
Score 0
Max Time N/A
Max Memory N/A

Compile Error

bestplace.cpp: In function ‘int main()’:
bestplace.cpp:14:6: error: conflicting declaration ‘int x’
14 | int x = sizeof(x)/sizeof(x[0]);
| ^
bestplace.cpp:6:6: note: previous declaration as ‘int x [n]’
6 | int x[n];
| ^