Problem 3nplus1
User annabel
Submission Time 2024-07-28 20:59:53
Score 0
Max Time N/A
Max Memory N/A

Compile Error

3nplus1.cpp: In function ‘int main()’:
3nplus1.cpp:4:8: error: ‘a’ was not declared in this scope
4 | int n=a; cin>>a;
| ^
3nplus1.cpp:9:10: error: unable to find numeric literal operator ‘operator""n’
9 | cout<<3n+1;
| ^~