Kotlin support

Hi, tried to use Kotlin to solve problems. But faced with several problems.

  1. There is no any info what compiler is used and what is a sample program (tried to do it like Java and got RE, the correct sample is fun main(args: Array<String>) { println("Hello world!") }):
  1. Looks like kotlin programs do not have proper -Xss setting, hence programs in kotlin can fail with StackOverflowException, where the similar Java program will pass. Wasted yesterday half an hour and 5 attempts to figure out that:

Kotlin RE https://www.codechef.com/viewsolution/21129127

Java AC https://www.codechef.com/viewsolution/21133182

@admin can you fix mentioned issues, so it will be possible to use kotlin for all problems (and easier to start using it)?

3 Likes