Problem 3nplus1
User prxya
Submission Time 2023-11-08 13:59:56
Score 0
Max Time N/A
Max Memory N/A

Compile Error

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