Wrong Answer in LUCKYNO

I can’t figure what is wrong with my code.
It is running fine on my local IDE (i.e Intellij IDEA), but when I import that code in CodeChef IDE it is showing errors.
This is my code https://www.codechef.com/STRT2020/submit/LUCKYNO

1 Like