Problem | 3nplus1 |
---|---|
User | TheBlueCharizard |
Submission Time | 2023-06-01 11:53:35 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
3nplus1.cpp: In function ‘int main()’:
3nplus1.cpp:6:9: error: ‘N’ was not declared in this scope
6 | cin >> N;
| ^
3nplus1.cpp:8:13: error: lvalue required as left operand of assignment
8 | if (n%2 = 0){
| ^
3nplus1.cpp:12:12: error: unable to find numeric literal operator ‘operator""n’
12 | cout << 3n+1);
| ^~