Problem 3nplus1
User joshua2152
Submission Time 2023-04-14 16:28:33
Score 0
Max Time N/A
Max Memory N/A

Compile Error

3nplus1.cpp: In function ‘int main()’:
3nplus1.cpp:6:11: error: expected ‘;’ before ‘while’
6 | cout << n
| ^
| ;
7 | while (1){
| ~~~~~
3nplus1.cpp:18:10: error: expected ‘;’ before ‘}’ token
18 | return 0
| ^
| ;
19 | }
| ~