Problem | 3nplus1 |
---|---|
User | NgMinSong123 |
Submission Time | 2023-03-03 16:25:08 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
3nplus1.cpp: In function ‘int main()’:
3nplus1.cpp:11:19: error: ‘a’ cannot be used as a function
11 | a = a(a % 2 == 0) ? a/2 : a*3+1;
| ^