Problem 3nplus1
User anonymous1801
Submission Time 2026-03-07 09:34:01
Score 0
Max Time N/A
Max Memory N/A

Compile Error

3nplus1.cpp: In function β€˜int main()’:
3nplus1.cpp:8:8: error: expected initializer before β€˜/’ token
8 | int n/2;
| ^
3nplus1.cpp:10:7: error: expected unqualified-id before numeric constant
10 | int 3*n+1;
| ^