Problem penguingathering
User peepeepoop
Submission Time 2026-01-28 22:13:32
Score 0
Max Time N/A
Max Memory N/A

Compile Error

penguingathering.cpp: In function ‘int main()’:
penguingathering.cpp:21:31: error: ‘peguinlocation’ was not declared in this scope; did you mean ‘penguinlocation’?
21 | penguinxyz += (penguinzyx - peguinlocation[i]) * (penguinzyx - peguinlocation[i]);
| ^~~~~~~~~~~~~~
| penguinlocation