NEED to understand NZEC error for KOTLIN, showing AC for JAVA. HOW?

I need to understand why solution for kotlin showed NZEC as same solution I
have submitted in JAVA showed AC solution to me in ongoing FEB LONG 2022


KOTLIN solution = NZEC error
JAVA solution = AC

Please provide explanation for the same.

(I believe I have using the KOTLIN latest version and codechef has old
version which led to this issue.Please check and let me know)


KOTLIN and JAVA file respectively for FEB LONG 2022 CHALLENGE,
question name - Avoid Fixed Points
question code - NOFIX Error Page | CodeChef

Looking forward for your response.

Thank you
Ruhul Amin