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)?


It has been more than a year and still the same issues!

It’s like, they don’t was us to code in Kotlin. :no_mouth:

This is just a shame… Kotlin is now on 1.4, 1.2 is already deprecated and Codechef is on… 1.1.

Guys, please upgrade, or don’t count on much traction for Kotlin newcomers to the platform (like myself)


Please update kotlin version!! Codeforces has version 1.6.10 . So please consider upgrading kotlin version