Hi, tried to use Kotlin to solve problems. But faced with several problems.
- 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!") }
):
- List of Compilers | CodeChef
- What are the compiler options that the judge uses? - faq - CodeChef Discuss
- Sample Solutions | CodeChef
- 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)?