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

Compile Error

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