Please tell my mistake in my code

submission link
i’ve used this approach

Try using long long instead of int for the variables even and odd.

2 Likes