Problem 3nplus1
User Aniedg
Submission Time 2024-02-03 21:25:47
Score 0
Max Time N/A
Max Memory N/A

Compile Error

3nplus1.cpp: In function ‘int main()’:
3nplus1.cpp:8:8: error: expected ‘)’ before ‘mod’
8 | if (a mod 2==0) {
| ~ ^~~~
| )
3nplus1.cpp:16:1: error: expected ‘}’ at end of input
16 | }
| ^
3nplus1.cpp:4:12: note: to match this ‘{’
4 | int main() {
| ^