Problem 3nplus1
User will
Submission Time 2023-02-14 08:50:44
Score 0
Max Time N/A
Max Memory N/A

Compile Error

3nplus1.cpp: In function ‘int main()’:
3nplus1.cpp:9:3: error: ‘else’ without a previous ‘if’
9 | else a = 3a + 1; cout<<a<<" ";
| ^~~~
3nplus1.cpp:9:12: error: unable to find numeric literal operator ‘operator""a’
9 | else a = 3a + 1; cout<<a<<" ";
| ^~
3nplus1.cpp:10:2: error: expected ‘}’ at end of input
10 | }
| ^
3nplus1.cpp:4:12: note: to match this ‘{’
4 | int main() {
| ^