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

Compile Error

penguingathering.cpp: In function ‘int main()’:
penguingathering.cpp:18:14: error: expected unqualified-id before numeric constant
18 | for (int 1 - 0; 1 < N; 1++) {
| ^
penguingathering.cpp:18:14: error: expected ‘;’ before numeric constant
penguingathering.cpp:18:26: error: expected ‘)’ before ‘;’ token
18 | for (int 1 - 0; 1 < N; 1++) {
| ~ ^
| )
penguingathering.cpp:18:29: error: lvalue required as increment operand
18 | for (int 1 - 0; 1 < N; 1++) {
| ^~
penguingathering.cpp:25:19: error: ‘end1’ was not declared in this scope
25 | cout << ana << end1;
| ^~~~