Problem 3nplus1
User claireau
Submission Time 2023-11-08 14:35:21
Score 0
Max Time N/A
Max Memory N/A

Compile Error

3nplus1.cpp: In function ‘int main()’:
3nplus1.cpp:7:13: error: expected ‘;’ before ‘)’ token
7 | for (n != 1); {
| ^
| ;
3nplus1.cpp:7:16: error: expected primary-expression before ‘{’ token
7 | for (n != 1); {
| ^
3nplus1.cpp:7:15: error: expected ‘;’ before ‘{’ token
7 | for (n != 1); {
| ^~
| ;
3nplus1.cpp:7:16: error: expected primary-expression before ‘{’ token
7 | for (n != 1); {
| ^
3nplus1.cpp:7:15: error: expected ‘)’ before ‘{’ token
7 | for (n != 1); {
| ~ ^~
| )