Problem 3nplus1
User piecat
Submission Time 2026-11-18 20:45:04
Score 0
Max Time N/A
Max Memory N/A

Compile Error

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