Problem evenorodd
User Mischa
Submission Time 2023-11-08 11:39:25
Score 0
Max Time N/A
Max Memory N/A

Compile Error

evenorodd.cpp: In function ‘int main()’:
evenorodd.cpp:7:11: error: expected primary-expression before ‘long’
7 | if (x/2==long long);
| ^~~~
evenorodd.cpp:7:11: error: expected ‘)’ before ‘long’
7 | if (x/2==long long);
| ~ ^~~~
| )
evenorodd.cpp:9:2: error: ‘else’ without a previous ‘if’
9 | else if (x/2==long double);
| ^~~~
evenorodd.cpp:9:16: error: expected primary-expression before ‘long’
9 | else if (x/2==long double);
| ^~~~
evenorodd.cpp:9:16: error: expected ‘)’ before ‘long’
9 | else if (x/2==long double);
| ~ ^~~~
| )