Problem 3nplus1
User Rayn
Submission Time 2026-11-02 11:35:52
Score 0
Max Time N/A
Max Memory N/A

Compile Error

3nplus1.cpp: In function ‘int main()’:
3nplus1.cpp:7:25: error: expected ‘;’ before ‘if’
7 | cout << n << " "
| ^
| ;
8 | if (n % 2 == 0){
| ~~
3nplus1.cpp:11:13: error: ‘else’ without a previous ‘if’
11 | else{
| ^~~~