Problem 3nplus1
User meeeee
Submission Time 2026-11-03 09:19:05
Score 0
Max Time N/A
Max Memory N/A

Compile Error

3nplus1.cpp: In function ‘int main()’:
3nplus1.cpp:10:1: error: expected ‘}’ at end of input
10 | }
| ^
3nplus1.cpp:6:14: note: to match this ‘{’
6 | while(n!=1) {if(n%2==0){
| ^
3nplus1.cpp:10:1: error: expected ‘}’ at end of input
10 | }
| ^
3nplus1.cpp:3:11: note: to match this ‘{’
3 | int main(){
| ^