Problem 3nplus1
User TheBlueCharizard
Submission Time 2023-06-01 11:52:52
Score 0
Max Time N/A
Max Memory N/A

Compile Error

3nplus1.cpp: In function ‘int main()’:
3nplus1.cpp:5:8: error: ‘N’ was not declared in this scope
5 | while(N != 1){
| ^
3nplus1.cpp:7:7: error: ‘n’ was not declared in this scope; did you mean ‘yn’?
7 | if (n%2 = 0){
| ^
| yn
3nplus1.cpp:11:12: error: unable to find numeric literal operator ‘operator""n’
11 | cout << 3n+1);
| ^~