Problem penguingathering
User Jaysonwee22
Submission Time 2026-06-24 15:37:01
Score 0
Max Time N/A
Max Memory N/A

Compile Error

penguingathering.cpp:6:11: error: expected initializer before ‘main’
6 | signed in main())
| ^~~~
penguingathering.cpp:8:5: error: ‘cin’ does not name a type; did you mean ‘sin’?
8 | cin >> N;
| ^~~
| sin
penguingathering.cpp:9:11: error: ‘N’ was not declared in this scope
9 | int X[N];
| ^
penguingathering.cpp:10:5: error: expected unqualified-id before ‘for’
10 | for (int i = 0; 1 < N; i++) {
| ^~~
penguingathering.cpp:10:21: error: expected unqualified-id before numeric constant
10 | for (int i = 0; 1 < N; i++) {
| ^
penguingathering.cpp:10:28: error: ‘i’ does not name a type
10 | for (int i = 0; 1 < N; i++) {
| ^
penguingathering.cpp:14:14: error: ‘Ie18’ was not declared in this scope
14 | int ana = Ie18;
| ^~~~
pengui