Problem | 3nplus1 |
---|---|
User | tanyap2906 |
Submission Time | 2025-06-09 10:05:47 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
3nplus1.cpp: In function ‘int main()’:
3nplus1.cpp:11:14: error: expected ‘;’ before ‘}’ token
11 | x = 3*x +1
| ^
| ;
12 | }
| ~
3nplus1.cpp:14:1: error: expected ‘}’ at end of input
14 | }
| ^
3nplus1.cpp:3:11: note: to match this ‘{’
3 | int main(){
| ^