Problem | 3nplus1 |
---|---|
User | Pushkaltoocool |
Submission Time | 2023-05-11 17:09:02 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
3nplus1.cpp: In function ‘int main()’:
3nplus1.cpp:9:14: error: expected ‘}’ at end of input
9 | cout<<n*3+1;
| ^
3nplus1.cpp:8:16: note: to match this ‘{’
8 | while (n%2!=0){
| ^
3nplus1.cpp:9:14: error: expected ‘}’ at end of input
9 | cout<<n*3+1;
| ^
3nplus1.cpp:5:11: note: to match this ‘{’
5 | int main(){
| ^