Problem 3nplus1
User pvpwarrior
Submission Time 2024-08-04 15:05:00
Score 0
Max Time N/A
Max Memory N/A

Compile Error

3nplus1.cpp: In function ‘int main()’:
3nplus1.cpp:10:15: error: expected initializer before ‘!=’ token
10 | while (int n != 1)
| ^~
3nplus1.cpp:10:14: error: expected ‘)’ before ‘!=’ token
10 | while (int n != 1)
| ~ ^~~
| )
3nplus1.cpp:10:15: error: expected primary-expression before ‘!=’ token
10 | while (int n != 1)
| ^~