Problem foreveralone
User blob
Submission Time 2023-11-20 11:06:11
Score 0
Max Time N/A
Max Memory N/A

Compile Error

foreveralone.cpp: In function ‘int main()’:
foreveralone.cpp:26:2: error: expected ‘,’ or ‘;’ before ‘while’
26 | while (int i != N)
| ^~~~~
foreveralone.cpp: At global scope:
foreveralone.cpp:36:5: error: ‘cout’ does not name a type
36 | cout << foreverAlone << endl;
| ^~~~
foreveralone.cpp:38:5: error: expected unqualified-id before ‘return’
38 | return 0;
| ^~~~~~
foreveralone.cpp:40:1: error: expected declaration before ‘}’ token
40 | }
| ^