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

Compile Error

3nplus1.cpp: In function ‘int main()’:
3nplus1.cpp:6:8: error: expected ‘(’ before ‘{’ token
6 | while {
| ^
| (
3nplus1.cpp:6:8: error: expected primary-expression before ‘{’ token
3nplus1.cpp:6:7: error: expected ‘)’ before ‘{’ token
6 | while {
| ^~
| )
3nplus1.cpp:12:11: error: unable to find numeric literal operator ‘operator""n’
12 | cout << 3n+1;
| ^~