Problem 3nplus1
User andikawahyudi
Submission Time 2026-01-22 21:10:51
Score 0
Max Time N/A
Max Memory N/A

Compile Error

3nplus1.cpp: In function ‘int main()’:
3nplus1.cpp:11:8: error: ‘n’ was not declared in this scope
11 | N = n/2;
| ^
3nplus1.cpp:13:11: error: ‘n’ was not declared in this scope
13 | N = (3*n)+1;
| ^