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
Challenge.
i.e
KOTLIN solution = NZEC error
https://www.codechef.com/viewsolution/58294730
JAVA solution = AC
https://www.codechef.com/viewsolution/58294345
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)
PFB
KOTLIN and JAVA file respectively for FEB LONG 2022 CHALLENGE,
question name - Avoid Fixed Points
question code - NOFIX CodeChef: Practical coding for everyone
Looking forward for your response.
Thank you
Ruhul Amin