Problem 3nplus1II
User Fjerds
Submission Time 2026-04-20 11:56:07
Score 0
Max Time N/A
Max Memory N/A

Compile Error

3nplus1II.cpp: In function ‘int apply(int)’:
3nplus1II.cpp:5:10: error: expected unqualified-id before ‘%’ token
5 | if (int % 2 == 0) {
| ^
3nplus1II.cpp:8:24: error: expected ‘;’ before ‘}’ token
8 | return 3 * number + 1
| ^
| ;
9 | }
| ~