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

Compile Error

3nplus1.cpp: In function ‘int main()’:
3nplus1.cpp:6:19: error: expected ‘)’ before ‘;’ token
6 | while (cout << !1;)
| ~ ^
| )
3nplus1.cpp:6:20: error: expected primary-expression before ‘)’ token
6 | while (cout << !1;)
| ^
3nplus1.cpp:9:2: error: ‘else’ without a previous ‘if’
9 | else
| ^~~~