Problem 3nplus1
User Dana
Submission Time 2023-11-08 15:18:20
Score 0
Max Time N/A
Max Memory N/A

Compile Error

3nplus1.cpp: In function ‘int32_t main()’:
3nplus1.cpp:7:2: error: ‘arr’ was not declared in this scope
7 | arr[10000];
| ^~~
3nplus1.cpp:8:10: error: expected ‘)’ before ‘is’
8 | while (n is even) {
| ~ ^~~
| )
3nplus1.cpp:8:11: error: ‘is’ was not declared in this scope
8 | while (n is even) {
| ^~
3nplus1.cpp:11:10: error: expected ‘)’ before ‘is’
11 | while (n is odd) {
| ~ ^~~
| )
3nplus1.cpp:11:11: error: ‘is’ was not declared in this scope
11 | while (n is odd) {
| ^~