Problem 3nplus1II
User angei
Submission Time 2025-08-01 15:38:09
Score 0
Max Time N/A
Max Memory N/A

Compile Error

3nplus1II.cpp: In function ‘int main()’:
3nplus1II.cpp:11:22: error: expected ‘;’ before ‘{’ token
11 | } else (L % 2 == 0) {
| ^~
| ;
3nplus1II.cpp:13:11: error: ‘else’ without a previous ‘if’
13 | } else (L % 2 !== 0) {
| ^~~~
3nplus1II.cpp:13:25: error: expected primary-expression before ‘=’ token
13 | } else (L % 2 !== 0) {
| ^