| Problem | penguingathering |
|---|---|
| User | Matrixworld |
| Submission Time | 2026-06-25 09:01:05 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
penguingathering.cpp: In function ‘int main()’:
penguingathering.cpp:22:3: error: ‘dist’ was not declared in this scope
22 | dist *= dist;
| ^~~~
penguingathering.cpp:25:18: error: ‘sumd’ was not declared in this scope
25 | if (sumd < ans) { ans = sumd;
| ^~~~
penguingathering.cpp: At global scope:
penguingathering.cpp:28:9: error: ‘cout’ does not name a type
28 | cout << ans << endl;
| ^~~~
penguingathering.cpp:29:5: error: expected declaration before ‘}’ token
29 | }
| ^
penguingathering.cpp:41:8: error: redefinition of ‘int main()’
41 | signed main() {
| ^~~~
penguingathering.cpp:7:8: note: ‘int main()’ previously defined here
7 | signed main() {
| ^~~~