Problem 3nplus1
User Tez
Submission Time 2023-12-12 16:22:32
Score 0
Max Time N/A
Max Memory N/A

Compile Error

3nplus1.cpp: In function ‘int main()’:
3nplus1.cpp:7:7: error: ‘a’ was not declared in this scope
7 | if (a%2==0){
| ^
3nplus1.cpp:11:12: error: unable to find numeric literal operator ‘operator""n’
11 | cout << 3n+1;
| ^~
3nplus1.cpp:13:2: error: expected ‘}’ at end of input
13 | }
| ^
3nplus1.cpp:3:12: note: to match this ‘{’
3 | int main() {
| ^