Having compile time error in simple kotlin code

The question is basic, but i’m having issues in taking input in kotlin.
Anyways, here is the question: https://www.codechef.com/problems/START01
here is the link to the code: https://www.codechef.com/viewsolution/34671376

1 Like